search for: observed_scores

Displaying 5 results from an estimated 5 matches for "observed_scores".

2009 Jan 10
2
Print specific matrix value???
Hello All, I'm trying to print specific row and column for Observed_Scores matrix, however, when I execute the command "Observed_Scores[1,1]", I get the message "Error in Observed_Scores[1, 1] : incorrect number of dimensions". Could you please help and let me know where is the mistake? Here is my program: library(ltm) library(psych) # Settting the...
2009 Jan 28
1
stack data sets
...T Data Simulation Routine# n.exams = 500 #Sets number of examinees to be generated# n.items = 20 #Sets number of items to be generated# #The following intialize empty (NA) vectors or matrices# beta.values = rep(NA,n.items) resp.prob=matrix(rep(NA, n.exams*n.items), nrow=n.exams, ncol=n.items) Observed_Scores=matrix(rep(NA, n.exams*n.items), nrow=n.exams, ncol=n.items) str(Observed_Scores) for (k in 1:10) { #Setting the starting point for seed set.seed(k) #filling item parameters into beta.values beta.values = runif(n.items,-2,2) #Calculating Threshold thresh.values = .5 * beta.values #Using the functi...
2009 Jan 28
0
How to stack data sets?
...T Data Simulation Routine# n.exams = 500 #Sets number of examinees to be generated# n.items = 20 #Sets number of items to be generated# #The following intialize empty (NA) vectors or matrices# beta.values = rep(NA,n.items) resp.prob=matrix(rep(NA, n.exams*n.items), nrow=n.exams, ncol=n.items) Observed_Scores=matrix(rep(NA, n.exams*n.items), nrow=n.exams, ncol=n.items) str(Observed_Scores) for (k in 1:10) { #Setting the starting point for seed set.seed(k) #filling item parameters into beta.values beta.values = runif(n.items,-2,2) #Calculating Threshold thresh.values = .5 * beta.values #Using the functi...
2009 Jan 15
2
Interface to open source Reporting tools
...<nidhik@umd.edu> > Subject: [R] Print specific matrix value??? > To: r-help@r-project.org > Message-ID: <20090110111500.BIN51794@po3.mail.umd.edu> > Content-Type: text/plain; charset=us-ascii > > Hello All, > > I'm trying to print specific row and column for Observed_Scores matrix, > however, when I execute the command "Observed_Scores[1,1]", I get the > message "Error in Observed_Scores[1, 1] : incorrect number of dimensions". > Could you please help and let me know where is the mistake? Here is my > program: > > > library(ltm...
2009 Jan 28
2
t.test in a loop
Hi All, I've been having a little trouble with creating a loop that will run a a series of t.tests for inspection, Below is the code i've tried, and some checks i've looked at. I've used the get(paste()) idea as i was told previously that the use of the eval should try and be avoided. I've run a single syntax to check that my systax is correct and works without any problems