# Nobs() -\> Float or Int?

**URL:** https://discourse.julialang.org/t/nobs-float-or-int/15485
**Category:** Statistics
**Created:** [September 25, 2018, 9:01pm UTC](https://discourse.julialang.org/t/nobs-float-or-int/15485 "2018-09-25T21:01:27Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![nalimilan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nalimilan/32/147_2.png) [@nalimilan](https://discourse.julialang.org/u/nalimilan)
#### Post date: [September 27, 2018, 9:36am UTC](https://discourse.julialang.org/t/nobs-float-or-int/15485/4 "2018-09-27T09:36:21Z")

</div>

Feel free to file an issue, but I’m afraid it’s more complex than that. For example, with frequency/replicate weights, the apparent “number of observations” doesn’t have any meaning, it’s just the way the data has been compressed to save space. So it would be misleading to have `nobs` return that.

---

_[View the full topic](https://discourse.julialang.org/t/nobs-float-or-int/15485)._
