Example_Covid
The Example_Covid
object provides a convenient way to load Covid-19 weekly data.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Example_Covid.type
Members list
Value members
Concrete methods
Load the Covid-19 weekly data into a matrix for the exogenous variables x and a vector for the response/endogenous variable y.
Load the Covid-19 weekly data into a matrix for the exogenous variables x and a vector for the response/endogenous variable y.
Value parameters
- trim
-
the number of initial rows to trim away (e.g., they are all 0)
- x_strs
-
the column names for the exogenous variables x
- y_str
-
the column name for the endogenous variable y
Attributes
Load the Covid-19 weekly data into a vector for the response/endogenous variable y.
Load the Covid-19 weekly data into a vector for the response/endogenous variable y.
Value parameters
- trim
-
the number of initial rows to trim away (e.g., they are all 0)
- y_str
-
the column name for the endogenous variable y
Attributes
Load the Covid-19 weekly data into a matrix for the variables y.
Load the Covid-19 weekly data into a matrix for the variables y.
Value parameters
- trim
-
the number of initial rows to trim away (e.g., they are all 0)
- y_str
-
the column names for the variables y (e.g., used in a VAR model)