Hi All:

I need to run a bunch of models one-by-one and retrieve the outputs (like
estimates, p values) accordingly. Some of models may not have outputs due to
singularity or even no observations. If this happens, assign NA to the
outputs.

For example,

#running models
fit.mod <- lm(xxxxxxxxxx)  #model 1
 fit.mod <- lm(xxxxxxxxxx)  #model 2
.........
fit.mod <- lm(xxxxxxxxxx)  #model 10

#outputting estimates and p values to a data frame
....


Any suggestions? Thank you very much in advance.

FD

	[[alternative HTML version deleted]]

