Displaying 4 results from an estimated 4 matches for "reeyarn".
2012 Mar 24
3
How to compute within-group mean and sd?
...thing like
SELECT firm_id, count(*), mean(value), sd(value)
FROM table
GROUP BY firm_id;
But I have to write a for loop like
for ( id in unique(table$firm_id ) {
print(paste( id, mean(table[firm_id == id, "value"]) ))
}
Is there any way to do it easier? Thanks :)
Best,
Reeyarn Lee
[[alternative HTML version deleted]]
2009 Dec 26
5
Is SEM package of R suitable for sem analysis
...I use R with SEM package as my tool for sem analysis,
but my teacher told me AMOS is more suitable for such analysis.
Could someone help tell me whether it is true
that some commercial software is better accepted in academic fields?
Sorry if I should not post such topics here.
--
Best Regards,
Reeyarn T. Lee
Accounting Dept, Guanghua School of Management,
Peking University, Beijing, P.R. China
2009 Dec 17
3
write.csv and col.names=F
Hi All,
I always have a problem with write.csv when I want the column names to be
ignored, when I specify col.names=F, I get a header of V1 V2 V3 V4 etc.
for example I tried
write.csv(mydata, file="data.csv", quote=FALSE, row.names=F, col.names=F)
Warning message:
In write.csv(mydata, file = "data.csv", quote = FALSE, :
attempt to set 'col.names' ignored
>
2012 Mar 07
4
Subset problem
Good Morning
??? I have a small question regarding the function subset.
I am copying data from one table but I just want to collect data from a
user.
When do I take the view, presents the results I want.
The problem arises when can I make the tab. for RES_ID, introduces me to
zero results do not envision noVIEW
val_user='16'
x.sub <-