Hello R-help,
Thanks for everyone's very helpful suggestions so far. I am now trying to
use aregImpute for my missing data imputation. Here are the code and error
messages. Any suggestions would be very much appreciated.
Sincerely,
Anders Corr
Dear R-help,
I am trying to impute missing data for the first time using R. The norm
package seems to work for me, but the missing values that it returns seem
odd at times -- for example it returns negative values for a variable that
should only be positive. Does this matter in data analysis,
My attempt to test a model using ordglm code is running into problems, and
I thought if you have a moment you might illucidate the situation.
Here is the data:
http://www.people.fas.harvard.edu/~corr/6.4.05.RData
Here is the code:
# I coerce tcn8 matrix data to a vector, because ordglm will
Oops,
I just erased all my data using this gizmo that I thought would replace -9
with NA.
A) Can I get my tcn5 back?
B) How do I do it right next time, I learned my lesson, I'll never do it
again, I promise!
Anders Corr
for(i in 1:dim(tcn5)[2]){ ##for the number of columns
+
Hi,
The row.names in my matrix seem to be out of order. I don't remember
putting row.names in in the first place, I don't see what use they are,
and they are out of order (perhaps because I sorted them at one point when
the data was in data.frame format). Can I delete the rownames? or at least