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
#################################################################################### | |
### | |
### Test of consecutive grade progression | |
### | |
################################################################################### | |
### Load SGP package | |
require(SGP) |
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
############################################################################################## | |
### | |
### Test script of Simex functionality | |
### | |
############################################################################################## | |
### Load SGP package | |
require(SGP) | |
options(error=recover) |
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
################################################################################################## | |
### | |
### Test of year specific knots | |
### | |
################################################################################################## | |
### Load SGP package | |
require(SGP) | |
options(error=recover) |
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
###################################################################################### | |
### | |
### Script to show use of SGP package with bi-annual assessment data like NAPLAN | |
### | |
###################################################################################### | |
### Load SGP package | |
require(SGP) |
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
################################################################################### | |
### | |
### Basic test of studentGrowthPercentiles with verbose.output=TRUE option | |
### | |
################################################################################### | |
### Load SGP package | |
require(SGP) | |
options(error=recover) |
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
require(splines) | |
require(quantreg) | |
### Create some data | |
x <- rnorm(100, mean=50, sd=10) | |
noise <- rnorm(100, sd=5) | |
y <- x + noise | |
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
### Load SGP Package and SGPdata | |
require(SGP) | |
require(SGPdata) | |
### Create two sets of data from embedded sgpData from, for example, grade 6: | |
### 1. Data for initial coefficient matrix creations | |
### 2. Data to be used with coefficient matrices created in 1. |
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
######################################################################### | |
### | |
### Basic percentiles and projections for two grades of data | |
### | |
######################################################################### | |
### Load packages | |
require(SGP) | |
require(SGPdata) |
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 SGP PACKAGE | |
#################################################### | |
install.packages("devtools") | |
require(devtools) | |
install_github("dbetebenner/SGP") | |
require(SGP) | |
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
################################################################################### | |
### | |
### Creation of lagged projections using lower level functions | |
### | |
################################################################################### | |
### Update SGP & SGPdata packages to latest on GitHub | |
require(devtools) | |
install_github("centerforassessment/SGPdata") |
OlderNewer