Displaying 2 results from an estimated 2 matches for "fit_model".
Did you mean:
filemodel
2008 Nov 05
2
how can I save the estimates of a regression model in a file?
Dear all
I need some help with R.
How can I save the estimates of a regression model in a file?
here is what I did:
1) this is my regression model:
fit1 <- lm(logmilk ~ logdays + days, data=data2)
2) however, I want to get the parameters estimates for each individual (by
group):
so i did the following:
by(data2, list(data2$V2),function(.data2) lm(logmilk ~ logdays + days, data=
.data2))
3)
2008 Mar 07
1
Trouble with R CMD check
...is
function
polyall.c:1575: warning: 'bestl' might be used uninitialized in this
function
polyall.c:1575: warning: 'bestu' might be used uninitialized in this
function
gcc -Ic:/PROGRA~1/R/R-24~1.1/include -Wall -O2 -std=gnu99 -c
polymars.c -o polymars.o
polymars.c: In function `fit_model':
polymars.c:513: warning: unused variable `intercept_sd'
polymars.c: In function `find_best_candidate':
polymars.c:1361: warning: unused variable `dok1'
polymars.c:1361: warning: unused variable `dok2'
polymars.c: In function `initial_model':
polymars.c:2585: warning: unuse...