<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Building and validating zero-inflated negative binomial regression models in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Building-and-validating-zero-inflated-negative-binomial/m-p/794985#M97159</link>
    <description>&lt;P&gt;Dear JMP community,&lt;/P&gt;&lt;P&gt;I am presented with a problem of building a model using over-dispersed zero-inflated count data. I hope you can help me with this.&lt;/P&gt;&lt;P&gt;I have attached both training and validation datasets to this post. My objective is to build my model on the training dataset and validate it using the validation dataset. I have not worked with such count data before and therefore do not know validate count data models.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the training dataset,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Columns x1 to x9 are my main effect predictors&lt;/LI&gt;&lt;LI&gt;Columns with a “&lt;EM&gt;_quad&lt;/EM&gt;” suffix are my quadratic effect predictors&lt;/LI&gt;&lt;LI&gt;Columns with a “&lt;EM&gt;int_&lt;/EM&gt;” prefix are my interaction terms.&lt;/LI&gt;&lt;LI&gt;Column Y is my count response.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have run zero-inflated negative binomial (ZINB) regression based on the following estimation methods:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Lasso&lt;/LI&gt;&lt;LI&gt;Double lasso&lt;/LI&gt;&lt;LI&gt;Adaptive lasso&lt;/LI&gt;&lt;LI&gt;Adaptive double lasso&lt;/LI&gt;&lt;LI&gt;SVEM lasso&lt;/LI&gt;&lt;LI&gt;Elastic net&lt;/LI&gt;&lt;LI&gt;Adaptive elastic net&lt;/LI&gt;&lt;LI&gt;Ridge&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The lasso-based models can be obtained by running the ”&lt;EM&gt;ZINB – Lasso selection&lt;/EM&gt;” script, whereas, the elastic net based models can be obtained by running the “&lt;EM&gt;ZINB - Elastic net selection&lt;/EM&gt;” script.&lt;/P&gt;&lt;P&gt;Predictions based on most of the models have been extracted into columns.&lt;/P&gt;&lt;P&gt;I would like your help on the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How do I test for presence of zero-inflation? And how do I interpret this test result?&lt;/LI&gt;&lt;LI&gt;How do I test for presence of over-dispersion? And how do I interpret this result?&lt;/LI&gt;&lt;LI&gt;For the different estimation methods, what parameters must I tune to obtain better fit of the model?&lt;/LI&gt;&lt;LI&gt;Using the validation dataset, how do I validate the above-mentioned predictions? I would like to validate prediction of 0 counts as well as non-zero counts.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using JMP Pro 17.1.0&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2024 08:57:44 GMT</pubDate>
    <dc:creator>stat_ranger</dc:creator>
    <dc:date>2024-09-04T08:57:44Z</dc:date>
    <item>
      <title>Building and validating zero-inflated negative binomial regression models</title>
      <link>https://community.jmp.com/t5/Discussions/Building-and-validating-zero-inflated-negative-binomial/m-p/794985#M97159</link>
      <description>&lt;P&gt;Dear JMP community,&lt;/P&gt;&lt;P&gt;I am presented with a problem of building a model using over-dispersed zero-inflated count data. I hope you can help me with this.&lt;/P&gt;&lt;P&gt;I have attached both training and validation datasets to this post. My objective is to build my model on the training dataset and validate it using the validation dataset. I have not worked with such count data before and therefore do not know validate count data models.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the training dataset,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Columns x1 to x9 are my main effect predictors&lt;/LI&gt;&lt;LI&gt;Columns with a “&lt;EM&gt;_quad&lt;/EM&gt;” suffix are my quadratic effect predictors&lt;/LI&gt;&lt;LI&gt;Columns with a “&lt;EM&gt;int_&lt;/EM&gt;” prefix are my interaction terms.&lt;/LI&gt;&lt;LI&gt;Column Y is my count response.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have run zero-inflated negative binomial (ZINB) regression based on the following estimation methods:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Lasso&lt;/LI&gt;&lt;LI&gt;Double lasso&lt;/LI&gt;&lt;LI&gt;Adaptive lasso&lt;/LI&gt;&lt;LI&gt;Adaptive double lasso&lt;/LI&gt;&lt;LI&gt;SVEM lasso&lt;/LI&gt;&lt;LI&gt;Elastic net&lt;/LI&gt;&lt;LI&gt;Adaptive elastic net&lt;/LI&gt;&lt;LI&gt;Ridge&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The lasso-based models can be obtained by running the ”&lt;EM&gt;ZINB – Lasso selection&lt;/EM&gt;” script, whereas, the elastic net based models can be obtained by running the “&lt;EM&gt;ZINB - Elastic net selection&lt;/EM&gt;” script.&lt;/P&gt;&lt;P&gt;Predictions based on most of the models have been extracted into columns.&lt;/P&gt;&lt;P&gt;I would like your help on the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How do I test for presence of zero-inflation? And how do I interpret this test result?&lt;/LI&gt;&lt;LI&gt;How do I test for presence of over-dispersion? And how do I interpret this result?&lt;/LI&gt;&lt;LI&gt;For the different estimation methods, what parameters must I tune to obtain better fit of the model?&lt;/LI&gt;&lt;LI&gt;Using the validation dataset, how do I validate the above-mentioned predictions? I would like to validate prediction of 0 counts as well as non-zero counts.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using JMP Pro 17.1.0&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 08:57:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Building-and-validating-zero-inflated-negative-binomial/m-p/794985#M97159</guid>
      <dc:creator>stat_ranger</dc:creator>
      <dc:date>2024-09-04T08:57:44Z</dc:date>
    </item>
  </channel>
</rss>

