Search Results
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 |
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`.
0
votes
0
answers
34
views
It is possible calculate Coefficients from a lm with the data of a t.test?
I am reading about the relationship that can be between t.test and lm, and I am trying to get the way of calculating the coefficients of lm with the data that return t.test
For example, I have the fo …
1
vote
R: How can I calculate the F-statistic of a logistic model in R?
TSS
TSS <- function(y){
y_ = mean(y)
y = y - y_
y = y^2
sum(y)
}
RSS
RSS <- function(error){
sum(error^2)
}
F-statistics
FS <- function(tss, rss, num_of_predictors, num_of_sample){
…
0
votes
0
answers
170
views
Can I calculate the residuals of the linear regression with the data of the t.test?
I would like, if possible, to calculate the residuals of lm, with the data output by t.test. How could this be done?
This is the data from t.test:
Two Sample t-test
data: rta[ind1] and rta[ind …