Displaying 20 results from an estimated 800 matches similar to: "lmer effects-type plot?"
2013 Mar 28
1
unique not working
i am using mac OSX 10.7.5, running R version 2.15.2 (2012-10-26) -- "Trick or Treat"
when i do:
uncountry <- unique(wvsAB[,7])
wvsAB$numcountry <- match(wvsAB$country, uncountry)
"unstate" isn't attaching.
> library(base)
> uncountry <- unique(wvsAB[,7])
> wvsAB$numcountry <- match(wvsAB$country, uncountry)
> ls(wvsAB)
[1] "age"
2013 Mar 28
4
bayesian HLM random effects
Hello, all.
I've been working on this for sometime and was almost at the end/ last chunk of code i would need.... When I received an error. Rather than go to bed and think about it in the morning, I messed with my data and now I am not getting anything. I was up until 4am trying to fix this.
Zip files of my data are attached (the data which ends in 'a' matches with wvsA and the
2013 Mar 19
1
creating a new variable.
Hello, all.
The following is for my own research.
I have attached the relevant data in pdf from Transparency International. I am only interested in the "CPI 2010 scores" column.
I am interested in creating a variable for several of these countries. The idea is, they will become a country level aggregate IV "corruption". I am running models on about 10 countries,
2004 Aug 17
1
An entire data frame which is a time-series?
I have :
raw <- read.table("monthly.text", skip=3, sep="|",
col.names=c("junk", "junk2",
"wpi", "g.wpi", "wpi.primary", "g.wpi.primary",
"wpi.fuel", "g.wpi.fuel", "wpi.manuf", "g.wpi.manuf",
2008 Jan 21
5
"nonstandard" column names
Hi everyone,
I am sure that this question has been asked here some
time ago but I do not remember the answer and was
unable to find it in the archives...
Below is my question: suppose that I have a data.frame
x and one of it's columns name is "CPI/RPI" (without
quotation marks of course). How can I reference this
column? Neither of x$CPI/RPI or x$"CPI/RPI" work. I
2011 Dec 04
1
Polishing my geom_bar for publication
Dear list,
I am new with ggplot2 and I have spend quiet some time putting together the following code to create the attached plot. However there's still a few things that I'm having trouble with!
I would be grateful if someone can tell me how to fix (1) the colour of my bars into grey scales (2) removing the y-axis (species name) on the right figure to avoid duplication, and (3) fix the
2004 Aug 21
3
Puzzled at lm() and time-series
I tried toy problems and there doesn't seem to be a basic problem
between lm() and ts objects:
X = data.frame(x=c(1,2,7,9), y=c(7,2,3,1))
lm(y ~ x, X)
X <- lapply(X, function(x) ts(x, frequency=12, start=c(1994,7)))
lm(y ~ x, X)
and this works fine - whether you do an lm() before or after making ts
objects, it's okay.
But I have a situation where things aren't okay.
2009 Sep 24
2
Downloading data from from internet
Hi all,
I want to download data from those two different sources, directly into R :
http://www.rateinflation.com/consumer-price-index/usa-cpi.php
http://eaindustry.nic.in/asp2/list_d.asp
First one is CPI of US and 2nd one is WPI of India. Can anyone please give
any clue how to download them directly into R. I want to make them zoo
object for further analysis.
Thanks,
--
View this message in
2009 Jun 11
1
Thusnelda - Floating point exception in encoder_toplevel.c:209
Hi all,
I've been hitting the odd floating point exception errors using the
new alpha encoders. They're encoding a live stream so I can't reproduce
the crash on demand, and it might only happen once every few days so
it's been fun trying to get a backtrace. The crash happens in a fairly
scary block of code, I wouldn't have a clue where to begin trying to fix it!
2011 Jan 10
3
Lattice, combine histogram and line graph
Hello everyone,
I have a simple histogram of gasoline prices going back a few years that
I want to insert a line graph of consumer price index (cpi) over the
histogram. I have looked through the "Lattice" book by Deepayan Sarkar
but don't see anything there. How might this be done? An example would
be wonderful.
Current code snippet follows. For example additional field to add
2013 Dec 17
0
[LLVMdev] Implementing the ldr pseudo instruction in ARM integrated assembler
Hi David,
Maybe I’m just blind, but where’s the code to handle the .ltorg directive? Is that a separate patch, maybe? Without that, this is not going to be usable in any circumstance using subsections-via-symbols.
+typedef std::map<const MCSection *, ConstantPool> ConstantPoolMapTy;
This feels odd to me. Can you elaborate a bit more on the data structure choices?? I would have expected
2011 Dec 06
1
About summary in linear models
Hello!!, for linear models fit I use Gretl, but now I'm starting to use R,
I would like to know if is there some function to obtain a extended summary
like in Gretl.
I will write a example in Gretl
Modelo 1: MCO, usando las observaciones 1968-1982 (T = 15)
Variable dependiente: Invest
Coeficient
St error
t-ratio
p-value
const
377,631
35,0955
10,7601
<0,00001
***
GNP
2012 Aug 03
1
How can I read time series data to create zoo objects if I have two title lines?
Hello,
This is a standard example in which I read the time series data from a
csv file and create a zoo object:
x0 <- read.csv(file="CPI.csv", header=TRUE)
time_0<-as.yearmon("1981-01")+(0:371)/12
x0zoo<-zoo(x0, time_0)
The data look like this:
TIME CPI CPI_food CPI_Clothes CPI_House CPI_Rent 198101 62.1 55.34
103.45 65.24 61.43 198102 63.16 56.95
2011 Dec 06
1
Duda sobre summary
Hola!! A ver si alguien puede ayudarme!!
Para ajuste de modelos lineales normalmente uso Gretl. Ahora estoy
empezando a hacerlo en R. Me gustaría saber si existe alguna función
que haga un summary extendido como el de Gretl. Os pongo un ejemplo
del summary de Gretl.
Modelo 1: MCO, usando las observaciones 1968-1982 (T = 15)
Variable dependiente: Invest
Coeficiente Desv. Típica
2013 Dec 17
2
[LLVMdev] Implementing the ldr pseudo instruction in ARM integrated assembler
Hi Jim,
Thanks for the review. It seems like you were looking at an old patch. I've
attached the latest patches to this email (and a squashed version of all
three for easy reading). I believe many of your concerns were addressed. See
below for a detailed response.
> Maybe I'm just blind, but where's the code to handle the .ltorg directive?
It is implemented in patch 0003 in this
2009 Apr 15
2
From daily series to monthly and viceversa
I have the following daily exchange rate series (from january 1st 1996 to
december 31st 2008) and I want to obtain them monthly series from it. I've
read about the 'zoo' library but I'm not getting it how to do it. These are
the data (left column day-month-year, right column the index)
31/12/1993 1,12509
03/01/1994 1,12509
04/01/1994 1,12558
05/01/1994 1,1258
06/01/1994 1,12596
2012 Sep 18
1
Lowest AIC after stepAIC can be lowered by manual reduction of variables
Hello
I am not really a statistic person, so it's possible i did something completely wrong... if this is the case: sorry...
I try to get the best GLM model (with the lowest AIC) for my dataset.
Therefore I run a stepAIC (in the "MASS" package) for my GLM allowing only two-variable-interactions.
For the output (summary) I got a model with 7 (of 8) variabels and 5 interactions and
2014 Oct 06
2
RJAGS Installation Issues
A few months ago, Eric asked about this for CentOS 6:
https://stat.ethz.ch/pipermail/r-sig-fedora/2014-April/000310.html
and was kindly helped by Marc Schwartz.
OTOH, we are running Fedora 19, currently upgrading to Fedora 20.
The RPM find link for 'jags-devel' which Marc provided really seems
to cater to CentOS or RHEL 5,
but not directly to any newer Fedora.
Also there, I'd
2011 Apr 04
3
Tips for motherboard with multiple PCI / PCI-e slots
Hi,
I need to fit at least three NICs and I was looking for motherboard models
that contain 3 or 4 CPI (or PCI-e) slots and works with CentOS.
I had a problem in the past with some models that had a bug and did not work
well with linux (ok with windows) so that's way I am asking this here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Jul 27
2
Forecasting Inflation
Dear All,
I wanted to forecast Inflation for Indian Economy. please send what
techniques to be used after the variable selection. WPI, CPI, Money supply,
IIP, Interest rate and so on..How i can use R for the same
[[alternative HTML version deleted]]