Tom Willems
2007-Aug-13 09:14 UTC
[R] Q: how to extract coefisients from one glm and implement them in to an other glm?
Een ingesloten tekst met niet-gespecificeerde tekenset is van het bericht gescrubt ... Naam: niet beschikbaar Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070813/fc375520/attachment.pl
Charles C. Berry
2007-Aug-13 20:36 UTC
[R] Q: how to extract coefisients from one glm and implement them in to an other glm?
Part of the homework you were supposed to do before asking this question:
help.search("coefficients")
.
.
.
coef(stats) Extract Model Coefficients
.
.
.
So, go read
?coef
and
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
As your email says.
Then go read ?predict which is probably more germane to your goal.
On Mon, 13 Aug 2007, Tom Willems wrote:
> Dear R ussers,
>
> I'm still working with the categorical models, and i can not do cross
> validation on them because odf their nature.
> not cv works perfectly on other models so i wonderd if it is possible to
> extract the beta's from a categorical model, then use their value in a
> 0/1 glm.
> Their formula is the same, so their assumptions should still hold.
>
> Is this possible in R.
>
> kind regards,
> Tom W.
>
>
> Disclaimer: click here
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
Charles C. Berry (858) 534-2098
Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901
Seemingly Similar Threads
- help with SQL, how can i use functions in sql (pkg :sqldf)
- question about logistic models (AIC)
- Q: Mean, median and confidence intervals with functions "summary" & "boxplot.stats"
- Q: combine 2 data frames with missing values
- how do i creat multiple back to back histograms?