Displaying 20 results from an estimated 20000 matches similar to: "Combined variable names"
2004 Dec 02
6
dropping rows
Hi!
Sorry for asking a trivial questions, but I can't seem to figure this out.
I have a dataframe called master containing 30-odd variables.
In this dataframe, I have observations across these 30 variables from
1930 to 2003 (I've made a "year" variable). How can I drop all rows for
which the year is less than 1960? I'm assuming something with ifelse()
but I can't
2005 May 19
3
Simultaneous estimation of mean and garch eq'n
Is it possible to simultaneously estimate mean and GARCH parameters in R?
In other words, I would like to estimate the normal regression equation
Y = b X + u
and simultaneously do a garch process on the u's to correct the standard
errors.
I was thinking maybe something with systemfit(), but I can't quite come
up with it.
Thanks,
Tobias
--
2005 Sep 05
4
Dummy variables model
Hi, all!
Anyone know an easy way to specify the following model.
Panel dataset, with stock through time, by firm.
I want to run a model of y on a bunch of explanatory variables, and one
dummy for each firm, which is 1 for observations that come from firm i,
and 0 everywhere else. I have over 200 firms (and a factor variable that
contains a firm identifier).
Any easy way of going about
2004 Nov 30
3
Relative subscripting
Hi!
I'm trying to do the following.
I have monthly a dataset with, among other things, "marketcap", and
"return".
I want to multiply return by the marketcap of the previous month. How do
I do this?
In STATA (which I have used frequently in the past) I would simply use
an expression of the form
return[_n]*marketcap[_n-1]
I believe they call this relative
2005 Mar 01
2
GARCH
Hi, everyone!
Is there a function to do single-variable GARCH in R? If yes, what
library is it in?
Thanks!
Toby
--
**************************************************************************
When Thomas Edison invented the light bulb he tried over 2000
experiments before he got it to work. A young reporter asked
him how it felt to have failed so many times. He said
"I never failed once. I
2004 Dec 01
1
Combined variable names (two concrete suggestions)
Very interesting topic. "What I want to know is *WHY* people are doing this?"
Here goes my view - I've used many for loops, and each time I realize
how stupid that is... AFTER I learned how to avoid it. But it's
difficult to avoid them without knowing how to do it. (Monsieur de
LaPalice wouldn't have puted it better...)
For loops are conceptually very easy to understand.
2005 Jan 17
2
Omitting constant in ols() from Design
Hi!
I need to run ols regressions with Huber-White sandwich estimators and
the correponding standard errors, without an intercept. What I'm trying
to do is create an ols object and then use the robcov() function, on the
order of:
f <- ols(depvar ~ ind1 + ind2, x=TRUE)
robcov(f)
However, when I go
f <- ols(depvar ~ ind1 + ind2 -1, x=TRUE)
I get the following error:
Error in
2017 Apr 27
4
[Bug 100860] New: Dual Monitor display problem, after switching screen positions, with 4.10 Kernels
https://bugs.freedesktop.org/show_bug.cgi?id=100860
Bug ID: 100860
Summary: Dual Monitor display problem, after switching screen
positions, with 4.10 Kernels
Product: xorg
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: critical
Priority:
2005 Aug 23
1
clustering of disturbances
Hi!
I have a dataset of properties that are owned by different firms, each
firm owning multiple properties. I am running a regression of holding
period (how long a property was held in a firm's portfolio) on the left,
and a bunch of factors on the right.
When calculating standard errors, I would like to cluster my disturbance
terms by firm. Any ideas on how to do this?
I'm guessing
2006 Sep 20
2
Unexpected behavior of apply() over a 3d array
Dear listeRs,
I'm finding that apply() behaves strangely when used on a 3-d array. For
example:
> at <- array(1:27,dim=c(3,3,3))
> at
, , 1
[,1] [,2] [,3]
[1,] 1 4 7
[2,] 2 5 8
[3,] 3 6 9
, , 2
[,1] [,2] [,3]
[1,] 10 13 16
[2,] 11 14 17
[3,] 12 15 18
, , 3
[,1] [,2] [,3]
[1,] 19 22 25
[2,] 20 23 26
2011 Nov 29
2
how to transform a data file
Hello R people,
I have a data file with 101 numeric variables: one variable called IDN (the
individual's unique id number, which I need to retain, and which ranges
from 1000 to 1320; some numbers are obviously skipped), and V1 to V100
(each has a value of 0 or 1; these 100 variables represent sequentially
ordered days and whether a characteristic was present or absent--e.g., v1
is day 1 and a
2010 Nov 22
6
DO NOT REPLY [Bug 7809] New: I/O errors other than IOERR_GENERAL should not suppress deletion
https://bugzilla.samba.org/show_bug.cgi?id=7809
Summary: I/O errors other than IOERR_GENERAL should not suppress
deletion
Product: rsync
Version: 3.1.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned at samba.org
2009 Mar 02
1
Question about normalization to a set of internal standards
Hi,
I have a question of the method as how to normalize the data sets
according to a set of the internal measurements.
For example, I have performed two batches of experiments contrasting
two different conditions (positive versus negative conditions): one at
a time.
1. each experiment, I measure signals of variable v1 to v100. I want
to understand v1 to v100 change under these two contrasting
2009 Mar 02
2
How to normalize to a set of internal references
Thanks for the advice. My question is more on how to do this?
Let me use a biology gene analysis example to illustrate:
In biology, there are always some house keeping genes which differ
little even at pathological conditions.
We know that at different batches, there are external factors affect
the measurements. For example, overall signal intensity might be
different due to lab reagents.
A
2005 Jul 08
2
Garch in a model with explanatory variables
Dear helpers,
does anyone know a function to fit a model with:
- y mean that is regressed on a set of explanatory variables
- y variace behaving as a garch or as a garch in mean
Thank you so much for your help,
Carlo
2015 Aug 22
3
sprintf error: "only 100 arguments allowed"
I'm trying to apply a function defined in the VW R docs, that attemps to
convert a data.table object to Vowpal Wabbit format. In the process i'm
getting the error in printf mentioned in the subject.
The original function is here:
https://github.com/JohnLangford/vowpal_wabbit/blob/master/R/dt2vw.R
Below there is a small example that reproduces the error. The function
works great with
2006 Apr 04
2
R performance: different CPUs
Hello!
I need to purchase a new box, which I would like to optimize for good R
performance.
For the record, I will run Fedora Core 5 as and OS, and I wanted to know
if anyone has experience with how the following affects R performance:
- Is there a big advantage to having a 64-bit CPU over having a 32-bit?
- Does an Opteron offer any advantages over an Athlon, and if yes, does
it justify an
2006 Feb 01
2
sort columns
Hi.
I have a simple (I think) question
My dataset have these variables:
names(data)
[1] "v1" "v2" "v3" "v4" "v5" "v6" "v7" "v8" "v9" "v10"
"v11" "v12" "v13" "v14" "v15" "v16" "v17"
2006 Jan 16
2
New RPM packages for CentOS4.0
Greetings list,
It's been a while since I've been able to focus on asterisk packaging
but this weekend I took some time to audit and recompile packages for
CentOS 4.2. You can find them here.
ftp://ftp.linuxsys.com/ftp/pub/releases/CentOS-4.0
You have your choice of 1.2.1 or 1.0.10 releases. If you need zaptel
modules then install this kernel as well:
2003 Apr 08
5
Status of SPARC64 port?
I was looking at the Sparc 64 4.7 or 4.8 port, wondering if its in any state
to put on my Solaris v100.
Just need the basics, eide, network, kbm,mouse, graphics (x).
A bonus would be support for the lom (light out management) features and the
flash card.
Reason for change is I HOPE that the math (ssl) performance is better on
FBSD, as well as I am just tired of keeping track of