NaN when running for skewness exp(variable)

0

Hi All,
I am doing a research and I want to find out the skewness of some exponential, continuous variables. For this, I've created the exp(variable). However, when running for the skewness, see line 63 and 67, I get a perfect answer for skew_V16 (24.04) but for skew_V17 I get NaN (Not a number). I made these variables numeric and I checked for negative or 0 values in this data set. However, there are none.... everything is above 0. Can someone help me? :slight_smile:

Hi!

To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.