enter image description hereThe final answer is Income y: Mean = 2484.87, Variance = 5650460.07, Gini = 0.4295 Consumption c: Mean = 2236.54, Variance = 2373130.74, Gini = 0.3159 I don't think this is correct. I want to verify that for an exponential normal distribution, the variance should be this large, and if not, how should I go about modifying it? Thanks so much.
Why does the python code calculate a very large variance for the lognormal distribution
54 Views Asked by user23361739 At
1
There are 1 best solutions below
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in VARIANCE
- How does variance work when implementing interfaces/type aliases in TypeScript?
- Finding the repeatability of a behaviour
- Why am I getting a different value for the percent variation explained by my dbRDA output?
- Why does the python code calculate a very large variance for the lognormal distribution
- Getting within and in-between variances and lambda ratio with MIcombine?
- Variance calculation warning: longer object length is not a multiple
- How to determinie what statistical test I need to do use
- Finding an equivalent for pdIdent (nlme-Package) for the lmer-function (lme4-Package)
- Why does Typescript allow assignability for a generic type parameter in a contravariant position?
- I use fviz_eig and try to change font size and type of percentage label, but I got some error
- Why the MSE of the fitted data is not equal to the sum of the bias and the variance in R?
- Kotlin Generic Interfaces and type variance problem
- How to account for the variance of predictor in a meta-regression?
- Compute Portfolio Variance in R with covariance matrix in stacked format in dataframe
- MATLAB without using loops, determine if the variance is above the threshold, returning a 1 or 0
Related Questions in ECONOMICS
- Predicting impact of a pre-determined price change using R
- In the ggdid function in R, how can one remove error bars?
- Consumer Maximization Problem Doesn't Work in Wolfram Mathematica
- Is it possible to find a point value from bounds?
- Scrape economic data from investing.com using Power Query
- Why does the python code calculate a very large variance for the lognormal distribution
- Reverse engineering values for mlogit logsum function applied to a choice model
- Dynamic nelson siegel
- How to sec color of each bars of histogram in ATAS c#
- 2SLS Regression in R with binary endogenous variables
- OLS linear regression and causality - does adding control variables create identical subgroups within which treatment is estimated?
- Error (sometimes) when using tidysynth package (R) for synthetic control estimations
- Express multiple production functions using 1 equation in GAMS
- spatial weight matrix in stata
- Dynamic fixed effect model
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Remember that it is the logarithm of y that has a normal distribution with mean
muand variancesigma^2; y itself can then be very large.The mean of the lognormal distribution is
exp(mu+sigma^2/2)and the variance isexp(2.mu+sigma^2)*(exp(sigma^2)-1). With your parameters (mu=7.5andsigma=0.8) this givesmean=2489.9andvariance=5557849.This is perfectly in line with your statistics for y. So - no worries!
BTW: please give code samples as code samples, not images.