[R] Simulating data

2015-06-28 Thread deva d
i wish to simulate data to generate twice the sample size for testing a model. the two fields to be simulated are y and x, in the attached file. as you will see, these represent data of several companies, of different sizes, for a 11 year period. the distribution is not really fitting into any kn

[R] Spline Graphs

2015-06-28 Thread deva d
I wish to analyse longitudinal data and fit spline graphs to it looking to the data pattern. can someone suggest some starting point, and package in R to be used for it. what would be the requirement for structuring the raw data. ** *Deva* [[alternative HTML version deleted]]

[R] Bootstrapping Standard errors of nonlinear GMM obtained from BFGS (Optimx)

2015-06-28 Thread Olu Ola via R-help
Hello, I am running a 2 equation system of nonlinear GMM using BFGS in optimx. Using the conventional way of calculating the standard error of the estimates gives NAN's for some of the standard errors. As a result, I want to bootstrap the standard error. A way forward on how to bootsrap the st

Re: [R] convert command not found in movie3d (rgl package) in Mac OS X

2015-06-28 Thread David Winsemius
On Jan 23, 2012, at 5:50 AM, Manabu Sakamoto wrote: > Dear list, > > I gave up trying to fix my movie3d (rgl library) issue in my PC > (completely black gif/png file) and went ahead and installed MacPorts > and ImageMagick onto my iMac (OSX ver 10.6.8). I think ImageMagick is > successfully inst

Re: [R] convert command not found in movie3d (rgl package) in Mac OS X

2015-06-28 Thread Navinder
Dear Duncan, I have the same problem but the solution you provided above doesn't really work for me. I am using mac and have ImageMagick installed. Any other suggestions how to fix this problem? Thanks, Navi -- View this message in context: http://r.789695.n4.nabble.com/convert-command-not-fou

Re: [R] Propagate errors with prediction interval

2015-06-28 Thread Bert Gunter
1. You need to research "errors in variables regression." 2. This is off topic here. This list is about R programming, not statistics. Post on a statistics list like stats.stackexchange.com instead. 3. Better yet, consult a local statistical expert. 4. If you post on R issues here, follow the li

[R] Propagate errors with prediction interval

2015-06-28 Thread Shaunna Morrison
Hello! I have a linear dataset with known values of X & Y in R. I treat the dataset as a linear model. I have a data point with a known value of X and an unknown value of Y. The X value has an associated instrument error. Goal: compute the prediction interval (of Y) for the data point, X, and i

Re: [R] correlation matricies: getting p-values?

2015-06-28 Thread David Winsemius
On Jun 28, 2015, at 10:03 AM, David Winsemius wrote: > > On Jun 27, 2015, at 8:06 PM, JAVAD BAYAT wrote: > >> Dear Bill Venables; >> >> Hi, I am using "cor" command to get the correlation coefficients for my data >> frame. I found somthing in the following site: " >>

Re: [R] correlation matricies: getting p-values?

2015-06-28 Thread Bert Gunter
?cor.test Please read Help files (for cor, which linked cor.test) before posting. And, as David says, post in plain text. -- Bert Bert Gunter "Data is not information. Information is not knowledge. And knowledge is certainly not wisdom." -- Clifford Stoll On Sat, Jun 27, 2015 at 8:06 PM, J

Re: [R] correlation matricies: getting p-values?

2015-06-28 Thread David Winsemius
On Jun 27, 2015, at 8:06 PM, JAVAD BAYAT wrote: > Dear Bill Venables; > > Hi, I am using "cor" command to get the correlation coefficients for my data > frame. I found somthing in the following site: " > > https://stat.ethz.ch/pipe

[R] correlation matricies: getting p-values?

2015-06-28 Thread JAVAD BAYAT
Dear Bill Venables; Hi, I am using "cor" command to get the correlation coefficients for my data frame. I found somthing in the following site: " https://stat.ethz.ch/pipermail/r-help/2000-January/009758.html"; . I used your function

Re: [R] Fread: add one to skip string identifier

2015-06-28 Thread Jim Lemon
Hi Trevor, I couldn't work out how to do it with just fread, but perhaps this will help: # create a test file sink("test_fread.dat") cat("This is the header of a file\n") cat("that ends with the word *end*\n") cat("Col1 Col2\n1 2\n3 4\n5 6\n") sink() # try to read it test_con<-file("test_fread.dat