Displaying 20 results from an estimated 6000 matches similar to: "Importing data"
2007 Jul 11
5
elementary statistics with R (rkward?)
Hi, I am trying to learn some basic statistics stuff but I cannot find any
elementary statistics exercises using R language. Using RKward would be even
better...
I need that in analysing sociological data, obtained through questionnairres -
findind corelations between variables, relations between different types of
data, etc.
Could anyone recommend simple tutorials/exercises, available on www
2006 May 19
1
Weird LM behaviour
Dear R users,
experimenting with the lm function in R, I've encountered some
behaviour I don't understand with my limited knowledge of regression.
I made a data-'set' of three measurements (see syntax below). Using
lm (linear model) to fit the regression-line, I expected to find an
intercept of 2.0 and a slope of 0, but in fact the slope is slightly
below zero. Amazed by
2006 Aug 26
2
Importing data from clipboard on Mac OSX
Dear R users,
I am trying to get data from the clipboard into R on MacOSX. I tried
the following, but got an error message:
read.delim("clipboard")
Error in file(file, "r") : unable to open connection
In addition: Warning message:
unable to contact X11 display
Obviously, I'm not running R using X11. I'm wondering, can I import
data from the clipboard on MacosX?
2008 Aug 05
2
Adding .PDF files to a package
Deal all,
new as I am to developing packages for R-Project, I apologize on
beforehand for questions that are too obvious. I am trying to 'add' a
PDF document containing some detailed information to a package.
The way I understand the Rexts.pdf document, I should add my .PDF
document to the /inst/doc/ folder, and links to the files should be
build automatically. However, after
2007 Dec 07
2
Same regression per sub-group: apply?
Dear helpers,
I've come up with what is probably a simple problem, but I cannot
find the solution. I have a data-set containing survey-data from
several countries. What I want to do is to perform some regression
analyses, for each country separately. The question is, how to do
this nicely (thus without repeating the same syntax with another
`subset' argument).
I thought of the
2007 Apr 06
2
plotting multilevel / lme lines
Dear expeRts,
I am trying to plot a lme-object {package nlme) in such a way, that
on a selected level the x-axis represents the value on a selected
predictor and the y-axis represents the predicted-outcome variable.
The graphs would than consist of several lines that each represent
one group. I can't find such a plotting function.
I could write such a function myself, based on
2006 Sep 26
2
Statistical data and Map-package
Dear helpeRs,
I'm working with the map-package and came upon a problem which I
couldn't solve. I hope onee of you can. If not, this can be seen as a
suggestion for new versions of the package.
I'm trying to create a map of some European countries, filled with
colors corresponding to some values. Let's say I have the following
countries and I assign the following colors
2007 Apr 16
1
Modelling Heteroscedastic Multilevel Models
Dear ListeRs,
I am trying to fit a heteroscedastic multilevel model using lmer{lme4-
package). Take, for instance, the (fictive) model below.
lmer(test.result ~ homework + Sex -1 + (1 | School))
Suppose that I suspect the error terms in the predicted values to
differ between men and women (so, on the first level). In order to
model this, I want the 'Sex'-variable to be random on
2007 Jul 30
1
Extract random part of summary nlme
Dear helpers,
I'm estimating multilevel regression models, using the lme-function
from the nlme-package. Let's say that I estimated a model and stored
it inside the object named 'model'. The summary of that model is
shown below:
Using summary(model)$tTable , I receive the following output:
> summary(model)$tTable
Value Std.Error DF t-value
2007 Jun 10
1
{nlme} Multilevel estimation heteroscedasticity
Dear All,
I'm trying to model heteroscedasticity using a multilevel model. To
do so, I make use of the nlme package and the weigths-parameter.
Let's say that I hypothesize that the exam score of students
(normexam) is influenced by their score on a standardized LR test
(standLRT). Students are of course nested in "schools". These
variables are contained in the
2007 Jul 31
1
Extracting random parameters from summary lme and lmer
LS,
I'm estimating multilevel regression models, using the lme-function
from the nlme-package. Let's say that I estimated a model and stored
it inside the object named 'model'. The summary of that model is
shown below:
Using summary(model)$tTable , I receive the following output:
> summary(model)$tTable
Value Std.Error DF t-value
2010 Jan 11
2
warning inside loop
Hi,
I'm running some data simulations using (mixed effects)* regression models
that show difficulty to converge. Therefore, I seek a way of capturing
warnings (of false convergence) inside a loop.
Inside that loop, I modify data and estimate a model. I do so many times
with slightly different modifications of the data. Next, I extract some of
the model parameters and store these in a matrix.
2009 May 25
1
SEM modelling
Dear All,
I am trying to run a program using SEM and the input data is a covariance matrix (polychoric correlations). However I get an error message which says:
is.triangular(S) : (list) object cannot be coerced to 'double'
Do not know what the problem is. Have done something almost similar without any problems.
Thanks very much
Simo
2007 Jul 16
5
how do I draw such a barplot?
Hi,
I cannot figure out how to draw a certain plot: could someone help me out?
I have this data.frame from a survey
my.data
that looks like something like this:
col1 col2 col3 col4
1 5 5 4 5
2 3 5 3 1
3 2 3 4 5
4 3 1 1 2
5 5 5 4 5
6 4 2 5 5
....
Each row represents a single questionnaire
2011 Mar 20
3
How to draw a map of Europe?
Hi R users,
I need to draw a map of select European countries with country names shown
on the map. Does anyone know how to do this in R?
Also, is it possible to draw a historical map of European countries using R?
Thanks a lot for your help.
Maomao
[[alternative HTML version deleted]]
2006 May 15
2
A question on memory size
Hi,
I am using a note book computer to do simulation. Even I added a commend
line in the shortcut on my desktop for R. I still get a message saying
reached total memory allocation of 502 Mb. Any suggestions will be welcome.
Nancy
--
Nancy C.H. Lo, Ph.D
Southwest Fisheries Science Center
8604 La Jolla Shores Dr.
La Jolla, CA 92037
858-546-7123(o)
858-546-5656(x)
2007 Feb 27
4
fitting of all possible models
Hi,
Fitting all possible models (GLM) with 10 predictors will result in loads of (2^10 - 1) models. I want to do that in order to get the importance of variables (having an unbalanced variable design) by summing the up the AIC-weights of models including the same variable, for every variable separately. It's time consuming and annoying to define all possible models by hand.
Is there a
2006 Aug 22
1
Total (un)standardized effects in SEM?
Hi there,
as a student sociology, I'm starting to learn about SEM. The course I
follow is based on LISREL, but I want to use the SEM-package on R
parallel to it.
Using LISREL, I found it to be very usable to be able to see the
total direct and total indirect effects (standardized and
unstandardized) in the output. Can I create these effects using R? I
know how to calculate them
2009 Feb 18
2
Running out of memory when importing SPSS files
Hello R-help,
I am trying to import a large dataset from SPSS into R. The SPSS file
is in .SAV format and is about 1GB in size. I use read.spss to import
the file and get an error saying that I have run out of memory. I am
on a MAC OS X 10.5 system with 4GB of RAM. Monitoring the R process
tells me that R runs out of memory when reaching about 3GB of RAM so I
suppose the remaining 1GB is used up
2009 Jan 07
1
Importing data from SPSS with Arabic encoding
Dear R-users,
I'm facing a problem with the import of data in R. I have a sav file that, I presume, uses some Arabic encoding (but I don't know which one) and I would like to read it with R. When I use the function read.spss (I also tried spss.get(Hmisc)), I get the following message:
> read.spss("Hhld.sav")
Erreur dans read.spss("Hhld.sav") :
erreur ? la lecture