target::RR< T > Class Template Reference
Inheritance diagram for target::RR< T >:
Collaboration diagram for target::RR< T >:

Public Member Functions

 RR (const arma::Col< T > &y, const arma::Mat< T > &x, const arma::Mat< T > &z1, const arma::Mat< T > &z2, const arma::Mat< T > &z3, const arma::Col< T > &parameter, const arma::Col< T > &weights)
 
arma::Col< T > rr ()
 
arma::Col< T > op ()
 
void calculate (bool target=true, bool nuisance=true, bool propensity=false) override
 
- Public Member Functions inherited from target::TargetBinary< T >
virtual arma::Mat< T > pa ()
 Calculate risk probabilities conditional on exposure. More...
 
virtual arma::Mat< T > p (bool exposure=0)
 
virtual arma::Col< T > loglik (bool indiv=false)
 log likelihood More...
 
virtual arma::Mat< T > score (bool indiv=false)
 score function More...
 
virtual arma::Mat< T > est (arma::Col< T > alpha, const arma::Col< T > &propensity)
 Estimating function for double robust estimator. More...
 
virtual arma::Mat< T > est (arma::Col< T > alpha)
 
- Public Member Functions inherited from target::Target< T >
 Target ()
 Constructor.
 
 Target (const arma::Col< T > &y, const arma::Mat< T > &a, const arma::Mat< T > &x1, const arma::Mat< T > &x2, const arma::Mat< T > &x3, const arma::Col< T > &parameter, const arma::Col< T > &weights)
 Target class constructur. More...
 
 Target (const arma::Col< T > &y, const arma::Mat< T > &a, const arma::Mat< T > &x1, const arma::Mat< T > &x2, const arma::Col< T > &parameter, const arma::Col< T > &weights)
 
 Target (const arma::Col< T > &y, const arma::Mat< T > &a, const arma::Mat< T > &x1, const arma::Mat< T > &x2, const arma::Mat< T > &x3, const arma::Col< T > &parameter)
 
 Target (const arma::Col< T > &y, const arma::Mat< T > &a, const arma::Mat< T > &x1, const arma::Mat< T > &x2, const arma::Col< T > &parameter)
 
void weights (const arma::Col< T > &weights)
 
arma::Col< T > weights ()
 
arma::Col< T > A ()
 
arma::Col< T > Y ()
 
arma::Mat< T > X1 ()
 
arma::Mat< T > X2 ()
 
arma::Mat< T > X3 ()
 
void update_data (const arma::Col< T > &y, const arma::Mat< T > &a, const arma::Mat< T > &x1, const arma::Mat< T > &x2, const arma::Mat< T > &x3)
 
void update_par (const arma::Col< T > &parameter)
 update_par - More...
 

Additional Inherited Members

- Public Attributes inherited from target::Target< T >
arma::Col< T > alpha
 
arma::Col< T > beta
 
arma::Col< T > gamma
 
- Protected Attributes inherited from target::TargetBinary< T >
arma::Mat< T > pr
 
- Protected Attributes inherited from target::Target< T >
arma::Col< T > nuisance
 
arma::Col< T > target
 
arma::Col< T > propensity
 
arma::Col< T > _response
 
arma::Mat< T > _exposure
 
arma::Mat< T > _x1
 
arma::Mat< T > _x2
 
arma::Mat< T > _x3
 
arma::Col< T > _weights
 

Detailed Description

template<class T>
class target::RR< T >

Definition at line 128 of file target.hpp.


The documentation for this class was generated from the following files: