search for: snowmanpaddington

Displaying 3 results from an estimated 3 matches for "snowmanpaddington".

2009 Jan 28
3
for/if loop
Hi, it's my first time to write a loop with R for my homework. This loop is part of the function. I wanna assign values for hll according to panel [ii,1]=pp. I didn't get any error message in this part. but then when I further calculate another stuff with hll, the function can't return. I think it must be some problem in my loop. Probably something stupid or easy. But I tried to look
2009 Jan 29
1
Optim error: initial value in 'vmmin' is not finite
Error in optim(method = "BFGS", c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, : initial value in 'vmmin' is not finite I am running a logit model with latent class segments. I successfully got estimates for 2 segments. However when I tried to increase the no. of segments, I got this error message at the end. I checked my code again but can't find anything wrong. Is this error
2009 Jan 28
2
t.test in a loop
Hi All, I've been having a little trouble with creating a loop that will run a a series of t.tests for inspection, Below is the code i've tried, and some checks i've looked at. I've used the get(paste()) idea as i was told previously that the use of the eval should try and be avoided. I've run a single syntax to check that my systax is correct and works without any problems