Coder Social home page Coder Social logo

cic-asymptotics's People

Contributors

jeremylhour avatar

Watchers

 avatar

Forkers

martinmugnier

cic-asymptotics's Issues

Mettre au propre une partie simulations

Se concentrer dans des cas où les conditions sont vérifiées pour mu pour le DGP Gaussien. Et regarder les configurations du DGP exponentiel. Garder les deux DGP. Commenter le tout.

Virer les couleurs dans le tableau de résultats.

Simulations results: good, bad, ugly

Configuration:
nb_simu: 1000 # Nb. of simulations
sample_size: 10000 # Sample size
lambda_x: .9 # Parameter of exponential distribution for X
lambda_z: 1 # Parameter of exponential distribution for Z
alpha_y: 5 # Parameter of Pareto distribution for Y

b_2+d_2 = .3

Résultats:
Theta_0: 2.22

bias:

  • smoothed: 0.0001
  • standard: 0.0002

MAE:

  • smoothed: 0.0037
  • standard: 0.0038

RMSE:

  • smoothed: 0.0047
  • standard: 0.0047

Coverage rate:

  • smoothed: 0.8960
  • standard: 0.9490

Simulation with U_j observed

On a l'impression qu'il n'y a pas beaucoup de cas où on obtient des taux de couverture inférieur à 95%. Du coup on peut se demander si on ne pourrait pas avoir un résultat montrant qu'on pourrait avoir de l'inférence conservatrice sous des hypothèses assez faibles (+ faibles que b_k + d_k < 1/2).

P/r à ce dernier point, peut-être qu'on pourrait regarder sur simulations ce que ça donne dans le cas + simple où les U_j sont observés ?

Regarder Lewbel and Schennach

"A Simple Ordered Data Estimator For Inverse Density Weighted Functions," by Arthur Lewbel and Susanne Schennach, lewsch33.pdf Journal of Econometrics, 2007, 186, 189-211.

Conditions à adopter pour les simulations

Pour que \theta_0 soit fini:
1/alpha_y < lambda_x / lambda_z

Pour que le théorème 2 s'applique:
1/alpha_y -1/2 < lambda_x / lambda_z

Autrement dit, pour que \theta_0 soit fini, il suffit de
1 - lambda_x / lambda_z + 1/alpha_y < 1

Simulation errors: divide by zero, etc.

/Users/jeremylhour/Documents/code/CIC-asymptotics/functions/func_main.py:97: RuntimeWarning: divide by zero encountered in true_divide
inside_integral = (indicator-u_hat)/denominateur

Simulations outputs

add:

  • quantile of sqrt(n) \hat (theta - theta_0),
  • histogram of simulations

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.