Displaying 6 results from an estimated 6 matches similar to: "forward variable selection using function step"
2013 Aug 27
1
Error in simulation. NAN
Hi all,
im triyng to implement a bayesian model with R and c++.
I have a strange problem. I can't reproduce the error with a small
script and then i post the original one.
The problem is after the line
for(MCMC_iter2=0;MCMC_iter2<thin;MCMC_iter2++)
For the first 34 iterations all work fine, after, all the simulations
of mu_acc_P return an "nan". If i delete the line
2010 Aug 13
2
How to compare the effect of a variable across regression models?
Hello,
I would like, if it is possible, to compare the effect of a variable across
regression models. I have looked around but I haven't found anything. Maybe
someone could help? Here is the problem:
I am studying the effect of a variable (age) on an outcome (local recurrence:
lr). I have built 3 models:
- model 1: lr ~ age y = \beta_(a1).age
- model 2: lr ~ age + presentation
2014 Sep 07
1
lbfgsb from C/C++
Hi,
I would like to call R's lbfgsb function from my C/C++ code by including
R_ext/Applic.h and linking against libR.
Currently, I am allocating memory for x (and the other input arrays for
lbfgsb) in my C/C++ code via malloc/new. However, this gives a segmentation
fault when executing the program.
I tried to allocate x via PROTECT(x = NEW_NUMERIC(n)); x_p =
NUMERIC_POINTER(x);.
This compiles
2004 Nov 26
2
(no subject)
Good afternoon,
I'd like to know how to superimpose a Student distribution pt on a
histogram. I think I have to use the plot function but I don,t know the
details.
Other question: what is a quntile function?
Can you help me?
Thank you.
2012 Nov 08
3
difference percentile R vs SPSS
Dear list,
I am calculating the 95th percentile of a set of values with R and with SPSS
In R:
> normal200<-rnorm(200,0,1)
> qnorm(0.95,mean=mean(normal200),sd=sd(normal200),lower.tail =TRUE)
[1] 1.84191
In SPSS, if I use the same 200 values and select Analyze -> Descriptive Statistics -> Frequencies
and under "Statistics", I type in '95' under Percentiles,
2001 Aug 29
2
Matching Data & Results (Fuzzy-Cluster-Analysis)
Hello,
i use i.e. the cluster-package and the
fanny-object to construct some cluster's and get
the membership'S for every "Person" & Cluster !
My finally problem is to match efficient the data
and the results's togehter in one table!
Until now i use the ODBC-Package and
save both in a access-file and copy them together,
but i can't be sure that the sorting is the