View SSR, SSE, & SST Matrix Computation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Al-Ahmadgaid Asaad | |
#As part of the yearly report of the manager of human | |
#resources at St. Luke’s Medical Center, he is requested to | |
#present analysis of the salaried employees. He selects a | |
#random sample of 30, from over 1,000 employees, and records | |
#the Monthly salary, service in months, and age of the | |
#employee. | |
table #The table here was not generated from R but from SPSS |
View gist:1754628
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Solving for the values of SSR,SSE, and SST using matrix in R. | |
#Codes: | |
#Lets input first everything we need in the computations. | |
#Inputting the given for the dependent and independent value. | |
IndependentVar <-c(1,93,1,104,1,104,1,126,1,98,1,99,1,94,1,96, | |
[17] 1,124,1,73,1,110,1,90,1,104,1,81,1,106,1,113,1,129,1,97,1, | |
[37] 101,1,91,1,100,1,123,1,88,1,117,1,107,1,105,1,86,1,131,1, | |
[58] 95,1,98) | |
View gist:1754641
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Solving for the values of SSR,SSE, and SST using matrix in R. | |
#Codes: | |
#Lets input first everything we need in the computations. | |
#Inputting the given for the dependent and independent value. | |
IndependentVar <-c(1,93,1,104,1,104,1,126,1,98,1,99,1,94,1,96, | |
[17] 1,124,1,73,1,110,1,90,1,104,1,81,1,106,1,113,1,129,1,97,1, | |
[37] 101,1,91,1,100,1,123,1,88,1,117,1,107,1,105,1,86,1,131,1, | |
[58] 95,1,98) | |
View gist:1754653
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>install.packages("RVAideMemoire") |
View gist:1754654
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install.packages("RVAideMemoire") |
View gist:1755029
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>library(RVAideMemoire) #the package is being called. |
View gist:1755085
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>install.packages("RVAideMemoire") |
View gist:1755087
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>install.packages("RVAideMemoire") |
View CochranQTest.r
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install.packages("RVAideMemoire") |
View CochranQTest.r
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(RVAideMemoire) #the package is being called. |
OlderNewer