AngusMcLure / PoolTools

Anlayse and design surveys with pool-tested data: a Shiny interface to PoolTestR and PoolPoweR
0 stars 0 forks source link

perfect correlation #17

Closed fredjaya closed 4 months ago

fredjaya commented 6 months ago

Warning: Error in fi_pool_cluster: correlation = 1 (perfect correlation) means that units from the same location are prefectly correlated. Do not use cluster surveys in this case.

Will disconnect from server if encountered. Similar issue with #14, where correlation is not reset after changing settings.

Or, add warning for when correlation = 1

fredjaya commented 4 months ago

Fixed ages ago with the UI validation (rho=0.5 max)