Displaying 20 results from an estimated 2000 matches similar to: "Stepwise regression"
2005 Dec 08
1
mle.stepwise versus step/stepAIC
Hello,
I have a question pertaining to the stepwise regression which I am trying to
perform. I have a data set in which I have 14 predictor variables
accompanying my response variable. I am not sure what the difference is
between the function "mle.stepwise" found in the wle package and the
functions "step" or "stepAIC"? When would one use
2009 May 27
1
How to write a loop?
Dear R helpers,
Following is a R script I am using to run the Fast Fourier Transform. The csv files has 10 columns with titles m1, m2, m3 .....m10.
When I use the following commands, I am getting the required results. The probelm is if there are 100 columns, it is not wise to define 100 commands as fk <- ONS$mk and so on. Thus, I need some guidance to write the loop for the STEP A and
2009 Dec 17
1
CORRECTION - Generation of Random numbers in a loop
Dear R helpers, please ignore my earlier mail. Here is the corrected mail. Please forgive me for the lapses on my part. Extremely sorry.
Here is the corrected mail.
Dear R helpers
I am having following data
Name Numbers
A11 12
A12 17
A13 0
A11 11
A12 6
A13 0
2009 Dec 17
1
Random Number Generation in a Loop
Dear R helpers
I am having following data
Name Numbers
A 25
B 3
C 13
A 5
B 7
C 0
A 2
B 10
C 9
CONDITIONS
If Name is A, min_val = 1.05, max_val = 1.30
If Name is B, min_val = 1.30, max_val = 1.60
If Name is C, min_val =
2003 Apr 22
7
Subject: Eliminate repeated components from a vector
X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
Reply-To: fjmolina at lbl.gov
FCC: /home/f/.xemacs/mail/sent
Does anyone know how I can eliminate repeated elements from a vector?
2009 Mar 16
1
Fw: Fitting GUMBEL Distribution - CDF function and P P Plot
Dera R Helpers,
I am re-posting my query.
Please guide me.
Maithili
--- On Fri, 3/13/09, Maithili Shiva <maithili_shiva at yahoo.com> wrote:
I am trying to fit the Gumbel distribution to a data. I am
using lmom package. I am getting problem in Cumulative
Distribution Function of Gumbel distribution as I am getting
it as a series of 0's and 1's thereby affecting the
P P
2009 Mar 18
2
Three Parameter FRECHET Distribution
Dear R Helpers
Which package is available for estimatine the parameters of three parameter FRECHET distribution. Also, how to generate the random numbers for Frechet using these three estimated parameters.
Thanking in advance
Maithili
2009 Dec 28
2
Modified R Code
Dear R helpers,
I have following input files. (Actually they are more than 10 rates but here i am considering only 2 rates to write my problem)
rate1.csv
min1 max1 min2 max2 min3 max3
1.05 1.30 1.30 1.65 1.65 1.99
rate2.csv
min1 max1 min2 max2 min3
2009 Dec 01
2
Calculation of Central Moments
Dear R helpers
If for a given data, I need to calculate Mean, Standard Deviation, Mode, Median, Skewness, Kurtosis, is there any package in R, which will calculate these moments?
Individually I can calculate these, but if there is any function which will calculate these at a stretch, please let me know.
Maithili
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
2009 Feb 06
2
Matrix Multiplication
Hi R helpers,
I have two matrices A and B of the order (4 * 5) and (5 * 3) respectively. How to multiply these two matrices to obtain resultant matrix of the order (4 * 3).
Thanks in advance
With regards
Maithili
2008 Oct 07
3
How to validate model?
Hi!
I am working on scorecard model and I have arrived at the regression equation. I have used logistic regression using R.
My question is how do I validate this model? I do have hold out sample of 5000 customers.
Please guide me. Problem is I had never used Logistic regression earlier neither I am used to credit scoring models.
Thanks in advance
Maithili
2009 Aug 27
2
Comparing and adding two data series
Dear R helpers
I have two series A and B as given below -
A <- c(2, 2, 1, 3, 7, 3, 3, 1, 14, 7, 31)
B <- c(0.0728,0.9538,4.0140,0.0020,2.5593,0.1620,2.513,0.3798, .0033,0.2282, 0.1614)
I need to calculate the total in dataset B corresponding to the numbers in dataset A i.e. for no 1 in A, I need the total as 4.0140+0.3798 (as 1 is repeated twice)
for no 2, I need the total as
2005 Jun 14
1
RGui crashes on wle call
Hi all --
I'm seeing the following commands reliably produce a crash in RGui,
version 2.0.1, for both my home and office machine:
> rm(list = ls(all = TRUE));
> load("dataset.R");
> library("wle");
> data.wle = wle.lm(abortion ~ year * lib.con + age + gender +
+ urbanism + census + income + church.att + children + educ +
+ religion.imp, data =
2009 Dec 04
2
writing 'output.csv' file
Dear R helpers
Suppose
M <- c(1:10) # length(M) = 10
N <- c(25:50) # length(N) = 26
I wish to have an outut file giving M and N. So I have tried
write.csv(data.frame(M, N), 'output.csv', row.names = FALSE)
but I get the following error message
Error in data.frame(M, N) :
arguments imply differing number of rows: 10, 26
How do I modify my write.csv
2009 Dec 15
2
Random numbers for a group
Dear R helpers
I have following table
Name no_of_instances
AAA 12
AA 17
A 0
BBB 11
BB
2009 Mar 05
2
Fast Fourier Transform w.r.t. CreditRisk+
Dear R Helpers,
Is there any literaure available (including R code) on Fast Fourier Transform being used in CreditRisk+? I need to learn how to apply the Fast Fourier Transform. I agree I am too vaue in my question and sincerely apologize for the same, but I am not able to understand as to where do I start for this particular assignment. I tried to search google for CRAN and Fast Fourier
2009 Dec 24
3
An unprofessional message
Dear R helpers,
I understand that this is absolutely unprofessional on my part and this group doesn't entertain such things. I have been associted with this group since last 1 and half years and have been immensely benefited by the noble service rendred by many R helpers.
So I take this opportunity to thank all of you and wish you all
"MERRY CHRISTMAS".
I sincerely apologize
2009 Jan 08
2
VaR-Monte carlo Simulation, Historic simulation, Variance-Covariance Simulation
Dear R helpers
Suppose I have a portfolio of securities with exposure to Equity, Bonds and Forex (say $ 1000000 each).
Is there any fucntion in R that will help me calculate Value at Risk (VaR) using Monte carlo Simulation , Historic simulation and Variance - Covariance Simulation.
With regards
Maithili
2008 Dec 18
1
Random Number Generation using (Generalized) Extreme Value distribution and Pareto distribution
Hi R helpers,
Is there any function in R, which generates random numbers in case of
(1) Generalized Extreme Value distribution and
(2) Generalized PAreto distribution for the respective given set of parameters?
Regards
Maithili
2008 Dec 16
2
Parameter Estimation - Generalized Extreme Value Distribution
Dear R helpers,
How do you estimate the (Location, Scale, Shape) parameters of Generalized Extreme Value distribution using R?
I have tried VGAM but just not able to write the R script.
Please advise.
With regards
Maithili