Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 179

Use this tag for any *on-topic* question that (a) involves `R` either as a critical part of the question or expected answer, & (b) is not *just* about how to use `R`.

3 votes

How to assess predictive power of set of categorical predictors of a binary outcome? Calcula...

For an R introduction to these methods, see Quick-R's Tree-based model page. …
fmark's user avatar
  • 4,997
6 votes
Accepted

What method is used to calculate confidence intervals in R's MASS package function confint.glm?

To summarise the above comments for posterity, the confidence interval is known as the "profile likelihood confidence interval". An explanation of the method is given by Stryhn and Christensen, and …
fmark's user avatar
  • 4,997
9 votes
2 answers
4k views

What method is used to calculate confidence intervals in R's MASS package function confint.glm?

What method is used to calculate confidence intervals in R's MASS package function confint.glm? The helpfile states that: These confint methods call the appropriate profile method, then find th …
fmark's user avatar
  • 4,997
12 votes

Is it possible to do time-series clustering based on curve shape?

R code is available on Rob's blog. …
fmark's user avatar
  • 4,997
59 votes
3 answers
29k views

Is it possible to do time-series clustering based on curve shape?

Cluster these transformed curves using the kml package in R. I have two questions: Is this a reasonable exploratory approach? … Any R snippets would be much appreciated! …
fmark's user avatar
  • 4,997
3 votes
2 answers
9k views

Is R's trimmed means function biased?

However, R gives the following result: > mean(x, trim=percent.to.trim) [1] 45.66667 This must result from the trimmed mean being based on length(x) - 2 * floor(length(x) * percent.to.trim) = 6 observations … I'm using R version 2.13.1 (2011-07-08), svn rev 56322. …
fmark's user avatar
  • 4,997
9 votes
2 answers
3k views

How can I estimate 95% confidence intervals using profiling for parameters estimated by maxi...

How can I estimate 95% confidence intervals using profiling for parameters estimated by maximising a log-likelihood function using optim in R? … If so, are there any packages that can help me do this in R? If not, what would the pseudo code for such a method look like? …
fmark's user avatar
  • 4,997
14 votes
1 answer
26k views

How can I calculate the R-squared of a regression with arima errors using R?

1, 0), xreg = dummy) Coefficients: dummy 17.7665 s.e. 1.1434 sigma^2 estimated as 1.307: log likelihood = -153.74 AIC = 311.48 AICc = 311.6 BIC = 316.67 How do calculate the R
fmark's user avatar
  • 4,997