Displaying 20 results from an estimated 3000 matches similar to: "will 9 data points work for a regression in R?"
2012 Oct 08
6
How to use Lines function to draw the error bars?
fit lwr upr
1 218.4332 90.51019 346.3561
2 218.3906 90.46133 346.3198
3 218.3906 90.46133 346.3198
4 161.3982 44.85702 277.9394
5 192.4450 68.39903 316.4909
6 179.8056 56.49540 303.1158
7 219.5406 91.52707 347.5542
8 162.6761 46.65760 278.6945
9 193.8506 70.59838 317.1029
10 181.3816 58.11305 304.6502
11 221.2871 92.14366 350.4305
12 164.2947 47.91081 280.6785
13
2012 Oct 03
2
Error in if (any(ch)) { : missing value where TRUE/FALSE needed
Can someone please help with the error message below?
thanks!
Start: AIC=-Inf
value ~ 1 + Core_CPI__ + GDP_change + Unemployment + housing +
interest + S_P + d1 + d2 + d3
Error in if (any(ch)) { : missing value where TRUE/FALSE needed
In addition: Warning message:
attempting model selection on an essentially perfect fit is nonsense
2012 Oct 03
1
stepAIC in R
My stepAIC function works for one set of data but not another....one set
of data shows the steps of eliminating variables, versus another set of
data doesn't throw away any variables.
Can anyone please explain why? Thanks
______________________________________________________________________
The information transmitted, including any attachments, is intended only for the person or entity
2012 Nov 04
1
Fw: 95% Q-Q Plot error message
Can someone please help with the below - thanks!
Warning messages:
1: Not plotting observations with leverage one:
7
2: Not plotting observations with leverage one:
7
> print(qqPlot(fit),envelop=.95);
Error in model.frame.default(formula = Y ~ X - 1, drop.unused.levels =
TRUE) :
variable lengths differ (found for 'X')
In addition: Warning message:
In matrix(yhat, n, reps) :
data
2012 Nov 04
1
95% Q-Q Plot error message
Can someone please help with the error message below?
Warning messages:
1: Not plotting observations with leverage one:
7
2: Not plotting observations with leverage one:
7
> print(qqPlot(fit),envelop=.95);
Error in model.frame.default(formula = Y ~ X - 1, drop.unused.levels =
TRUE) :
variable lengths differ (found for 'X')
In addition: Warning message:
In matrix(yhat, n, reps) :
2012 Oct 09
1
why does R stepAIC keep unsignificant variables?
Ran a bunch of variables in R and the final result of StepAIC is as below:
Why are the first 5 variables kept in the stepwise result?? Are the last
4 variables finally chosen after Stepwise? Thanks
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 1.315e-01 2.687e-01 0.490 0.63611
Core_CPI__ 1.290e-02 7.496e-03 1.721 0.11927
GDP_change -3.482e-03 2.075e-03 -1.678 0.12767
2012 Oct 04
1
can stepAIC be customized to exclude coefficients with p-value less than certain values?
For example, if coefficient's p-value is less than 0.1 I want the stepwise
to automatically drop that variable. Can the stepAIC be customized to do
that? SAS seems to be able to customized stepwise function with p-value
or cooks'd.
thanks!
______________________________________________________________________
The information transmitted, including any attachments, is intended only
2012 Oct 08
0
time series data failing ncv test
For a set of data showing seasonality (related to the 4th quarter), ncv
test in R shows p-value of 0.008 which rejects the null hypothesis of
constant-variance. How to apply White's standard error in R?
thanks
______________________________________________________________________
The information transmitted, including any attachments, is intended only for the person or entity to
2012 Nov 04
0
Q-Q Plot error message
Can someone please help with the error message below -- thanks!
Warning messages:
1: Not plotting observations with leverage one:
7
2: Not plotting observations with leverage one:
7
> print(qqPlot(fit),envelop=.95);
Error in model.frame.default(formula = Y ~ X - 1, drop.unused.levels =
TRUE) :
variable lengths differ (found for 'X')
In addition: Warning message:
In matrix(yhat, n,
2012 Oct 08
0
time series data failing non-constant variance test
For a set of data showing seasonality (related to the 4th quarter),
ncv
test shows p-value of 0.008 which rejects the null hypothesis of
constant-variance. Currently a linear LM relationship is being
applied to
the data.
Should white's error be used to correct the non-constant variance? Are
the p-values of the coefficients unreliable?
thanks
2012 Oct 09
2
How to write out this regression equation in R?
For example:
How to make R write out:
Balance = 2 + 3 * IntGDP + 5 * IntUnemployment + 0.3 * d1
from the table below:
Balance Intercept IntGDP GDPNum IntUnemployment
IntInflation d1 d2 d3
30000 2 3 5 0.3 0 0
and if I have 20 rows, how to make it a batch process?
thanks
2008 Jan 23
2
Parametric survival models with left truncated, right censored data
Dear All,
I would like to fit some parametric survival models using left
truncated, right censored data in R. However I am having problems
finding a function to fit parametric survival models which can handle
left truncated data.
I have tested both the survreg function in package survival:
fit1 <- survreg(Surv(start, stop, status) ~ X + Y + Z, data=data1)
and the psm function in package
2012 Nov 29
1
worldmap_region/country problem
Dear R community,
I'm trying to graphically illustrate my data with a worlmap.
Unfortunately, my data is partly on country basis and partly on regional
basis (e.g. certain African countries are aggregated to one region). I am
using the package rwoldmap.
The data on country basis can be mapped, but our defined regions cannot be
identified in R. Therefore, all the countries in these
2012 Sep 21
2
Inclusion of a countdown tool of remaining calculation time possible?
Dear All,
We are currently working with very large datasets which even in R require
a lot of calculation time. Is there an option of including a function/
tool or something alike which shows the remaining time of calculation?
Just to see whether there is any progress or whether anything has crashed
and to get a feeling whether we have to wait for 5 min or 30min...
Any help is greatly
2005 May 13
4
Gigabit Throughput too low
Hi I was wondering if you ever got better performance out of your
Gigabit/IDE/Fc2?
I am facing a similar situation. I am running FC2 with Samba 3.x
My problem lies in not that I am limited to 10 MBytes per second
sustained. I think it's related to this pdflush and how it's buffers
are setup. (I have been doing some research and before 2.6 kernels
bdflush was the method that was used and
2012 Oct 11
2
Options to extend memory limit
Dear All,
at the moment I am using R for calculations of large databases.
Unfortunately, R only manages to complete certain operations at some
times, and not at others. I usually get the error message "cannot allocate
vector of size XX"
I am using the 64-bit version with Windows 7. While my computer has 8 RAM,
I do have a feeling that R cannot use all of it.
Searching online, I
2018 Aug 21
2
Get Logical processor count correctly whether NUMA is enabled or disabled
Dear Tomas, thank you for looking into this. Here's the output:
# number of logical processors - what detectCores() should return
out <- system("wmic cpu get numberoflogicalprocessors", intern=TRUE)
[1] "NumberOfLogicalProcessors \r" "22 \r" "22 \r"
[4] "20 \r"
2009 Feb 05
1
Mapped Network Drive Error
Hi,
I'm getting the following error:
"The mapped network drive could not be created because the following error
has occured - there are currently no logon servers available to service
the logon request"
Any ideas?
Kind Regards,
Mark Parsons.
Ernst & Young is proud to bring you Entrepreneur Of The Year - the prestigious global business awards for entrepreneurs.
2009 Mar 18
1
Samba Password Question.
Hi All - Quick question. Is there anyway that when a user first invokes
Samba to map to a network share that they are asked to change their
(samba) password.
I've got a whole bunch of (samba) users who all have been given the same
password and I want them to have to change it to one of their own choosing
upon first login.
Kind Regards,
Mark Parsons
Ernst & Young is proud to bring
2018 Aug 29
2
Get Logical processor count correctly whether NUMA is enabled or disabled
Dear Tomas, thank you very much. I installed r-devel r75201 and tested.
The machine with 88 cores has NUMA disabled. It therefore has 2 processor groups with 64 and 24 processors each.
require(parallel)
detectCores()
# [1] 88
This is great!
Then I went on to test with a simple 'foreach()' loop. I started with 64 processors (max limit of 1 processor group). I ran with a simple function