Displaying 2 results from an estimated 2 matches for "savingsaccount".
2009 Jul 17
1
Help with R.oo
Hi! I'm trying to learn about object oriented R, as it seems like it
would be very useful.
I'm going over an example from the documentation, and I'm very confused:
http://www1.maths.lth.se/help/R/R.oo/
[assume you've called library (R.oo)]
setConstructorS3("SavingsAccount", function(balance=0) {
if (!is.numeric(balance) && length(balance) != 1)
throw("Argument 'balance' must be a single numeric value: ",
mode(balance));
if (balance < 0)
throw("Trying to create an account with a negative balance.");
ex...
2008 Aug 21
1
Interpreting Logistic Regression
...b) How do I interpret the "R" result as given below? I know all the variables are significant. How do I get Log Likelihood ratio, Odds ratio etc.?
Please can anyone help me out.
With warm regards
Madhavi
R OUTPUT
Call:
glm(formula = Y ~ Age1 + Age2 + Sex + Education + Profession + SavingsAccount +
CurrentAccount, family = binomial(link = logit), data = ons)
Deviance Residuals:
Min 1Q Median 3Q Max
-3.21142 -0.42556 -0.15911 -0.02954 3.02465
Coefficients:
Estimate Std. Error z value Pr(>|z|)
(Intercept) 2.627725 0...