search for: socstats

Displaying 3 results from an estimated 3 matches for "socstats".

Did you mean: locstats
1999 Mar 02
1
Can't understand error message :-{
I'm sorry if this is a basic question, but I'm stumped. I'm just trying to plot the residuals from a linear model against another variable in the data frame. Here are the lines I'm trying to execute: size <- read.table(file="/u67/abasl70/surveys/annenberg/mega/smschl.dat", header=T) sizef <- data.frame(size, row.names=size$unit) attach(sizef) mschmod <- lm
2009 Jun 23
2
Problem with ifelse statement
Hi R-helpers, I am trying to use this ifelse statement to recode a variable: > data$SOCIAL_STATUS<-ifelse(data$SOCIAL_STATUS=="B" & data$MALE>4, "C", "B") (i.e., if social status is B and there are more than 4 males, then recode social status to C; otherwise, leave it B) But, it's not working. See the below R output. Notice that there were 71
2005 Feb 03
1
Getting "Information matrix" in mixed models
...ay to produce it using R? With best regards Hukum =================================== Hukum Chandra Division of Social Statistics School of Social Sciences University of Southampton SOUTHAMPTON SO17 1BJ, United Kingdom Email : hchandra at soton.ac.uk, hcpatwa1 at rediffmail.com Web : http://www.socstats.soton.ac.uk/