# Missing value and logistic regression

**URL:** <https://discuss.hail.is/t/missing-value-and-logistic-regression/1670>\
**Category:** Hail Query & hailctl\
**Created:** [September 19, 2020, 6:15pm UTC](https://discuss.hail.is/t/missing-value-and-logistic-regression/1670 "2020-09-19T18:15:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![danking](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/danking/32/43_2.png) [@danking](https://discuss.hail.is/u/danking)\
**Post date:** [September 21, 2020, 12:57pm UTC](https://discuss.hail.is/t/missing-value-and-logistic-regression/1670/2 "2020-09-21T12:57:56Z")

</div>

Hi @Stephen,

You probably need to [increase the memory available to Spark](https://discuss.hail.is/t/how-do-i-increase-the-memory-or-ram-available-to-the-jvm-when-i-start-hail-through-python/133/2), a library Hail uses.

Hail treats missing data as missing. If you execute,

```auto
covar.filter(hl.is_missing(cover.mypheno)).show()

```

you’ll see the missing data represented by a special value `NA`.

If you are curious how `logistic_regression_rows` deals with missing y-values, check out the docs for [`logistic_regression_rows`](https://hail.is/docs/0.2/methods/stats.html#hail.methods.logistic_regression_rows), specifically the warning box.

---

_[View the full topic](https://discuss.hail.is/t/missing-value-and-logistic-regression/1670)._
