[R] a Weighted Least Square Model for a Binary Outcome

Daniel Malter daniel at umd.edu
Wed Jun 29 04:18:51 CEST 2011


You can specify the weights=... argument in the lm() function as vector of
weights, one for each observation. Should that not do what your are trying
to do?

HTH,
Daniel

--
View this message in context: http://r.789695.n4.nabble.com/a-Weighted-Least-Square-Model-for-a-Binary-Outcome-tp3631551p3631834.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list