search for: x_p

Displaying 6 results from an estimated 6 matches for "x_p".

Did you mean: _p
2006 Nov 12
0
forward variable selection using function step
...oblem with the function step( ) when I was trying to do forward variable selection. Below is the code I used and the error message. I don't why I am getting this error message. Could someone help me out. I noticed that I got this error message whenever it chose a model with an interaction term X_p :X_q and if I put X_q before X_p in the upper scope formula, like X_q*X_p***. Shouldn't X_p:X_q be the same as X_q:X_p? So why am I getting this error message? Any help is greatly appreciated. > x1<-rnorm(100,0,1) > x2<-rnorm(100,0,1) > x3<-rnorm(100,0,1) > y<-x1+x2...
2010 Aug 13
2
How to compare the effect of a variable across regression models?
...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 variables (X_p) y = \beta_(a2).age + \BETA_(p2).X_p - model 3: lr ~ age + presentation variables + treatment variables( X_t) y = \beta_(a3).age + \BETA_(p3).X_(p) + \BETA_(t3).X_t Presentation variables include variables such as tumor grade, tumor size, etc... the physician cannot interfer wit...
2013 Aug 27
1
Error in simulation. NAN
...char const *lside = "L"; const double one = 1.0; const double negOne = -1.0; const double zero = 0.0; const int incOne = 1; /***************************************** Set-up *****************************************/ double *x_P = REAL(x_r); int n_j = INTEGER(n_j_r)[0]; int J = INTEGER(J_r)[0]; int N = n_j*J; int iter_1 = INTEGER(iter_1_r)[0]; int iter_2 = INTEGER(iter_2_r)[0]; int burnin = INTEGER(burnin_r)[0]; int thin = INT...
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.
2014 Sep 07
1
lbfgsb from C/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 but also gives a segmentation fault. Is there a way to use lbfgsb from C/C++ directly (without an intermediate call of R)? Did I miss any compile flags? Thanks [[alternative HTML version deleted]]
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