Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Yes, it's work for my class. -- View this message in context: http://r.789695.n4.nabble.com/Simulate-AR-1-starting-from-X-number-tp4276550p4277462.html Sent from the R help mailing list archive at Nabble.com.
Hello, I need to show the observations of a data set only if the earn more than $5000 (fact is its name in the date set). I use this: View(data[data$fact>5000]) The code above shows nothing. No...
Hi i run arima.sim(n=100,n.start=9,list(ar=c(0.4)),sd=sqrt(3)), but i need that the firs value be 9, i mean x_(-1). Thanks -- View this message in context: http://r.789695...
Hi I need to perform some analysis about risk management portfolio. There is a reference to a VaR package, however, i can't find it. It was deprecated? Or it's inside now of another package? Thanks. -- View this message...
Hi I need to do something very simple. I have 2 variables, Y and M. I need to multiply Y by 1 if M=1, by 2 if M=3 and by 3.6678 if M=9. How do i...
Hi I need to apply some code over some stata files that are in folder. I've wrote this library(foreign) fuente=list.files("C:/Users/Jceccarelli/Bases/Stata", pattern="dta$", full.names=FALSE) for (i in 1:length(fuente...
Hello, I need to calibrate a survey using raking. I already declared the complex design here: des_survey <- svydesign(id= ~idd, strata= ~strata, data = datos, weights = ~ft, check.strata=TRUE ) options(survey.lonely.psu = "remove") options(digits = 10) However, when...
Hello Im analyzing a survey and i need to obtain some statistics per groups. Im able to create a table with sex and age. However, if i want to know how much income earns the population by sex and age...
Hi Im a bit lost. Ive imported a stata13 file. When i try to make a simple table(region[sex=1],type[sex=1]) i get something as type1 type2 region1 0 0 region2 0 0 region3 0 0 I...
Hello i need to simulate data for and arch and garch process, n=1000. I've been generating arch and garch data but i can't find the way to set an starting error, epsilon(t=0) and sigma(t...
Hi Im running X13 with the seasonal package. However, in some series i get this error after specifying the x11 options: o_1=ts(o1,frequency=12,start=c(2010,2)) so_1=seas(o_1, x11="",transform.function ="log...
Hi. I need to loop over rda files. I generated the list of them. That's ok. The problem is that the name of the files are as yyyy_mm (eg 2010_01 is january or 2010, 2016_03 is...
I solved this problem using the nonint.factors=F,generate.factors=F) when i imported the dta files. Thanks to all. My issue can be declared as solved. On Sat, Aug 27, 2016 at 12:55 PM, Michael Friendly <friendly...
Thanks, but I already solved it as you wrote it. I was a missing comma. On Thu, Mar 16, 2017 at 5:19 PM, jim holtman <jholtman at gmail.com> wrote: > you are probably missing a comma: > > View(data[data...
Nop. I didn't work. But using the following it does work. table(region[sex=="Men"],type[sex=="Men"]) When i use the dta file with stata i declare the condition with sex==1 and not sex=="Man". On Thu...
The attach(get(yyz)) option i tried and it worked. The only issue, is that when i'm trying to export the results, it takes a lot of time. Considerably more than Stata. Also, the computer almost collapses for a...
Thanks a lot. Your code does the trick. One last question: The tabulate produced is showing every cross in just one column. I mean, it presents the region by order and sex=1, and then again the region but by...
I removed the data,frame=True... I obtain this warnings... Error in read.dta(fuente[i]) : not a Stata version 5-12 .dta file In addition: There were 50 or more warnings (use warnings() to see the first 50) the...
Thank you both. The issue was I didn't declare the database as a data frame and I also forgot the comma... ene=as.data.frame(data) attach(ene) View(ene[ene$fact>5000,]) The code listed did the trick...
Your help was everything i needed it. Please, declare this topic as solved. And thanks again. On Sat, Sep 3, 2016 at 10:06 PM, David Winsemius <dwinsemius at comcast.net> wrote: > > > On Sep 2, 2016, at 6:08 PM...
Can't find what you're looking for? Try searching with Google .