Skip to content

Test project - Stratify solutions #31

@dill

Description

@dill

Here is a summary of the current state of this project's conversion:

> cc <- convert_project("inst/Stratify-solutions/Stratify\\ solutions")
Warning messages:
1: In create_bins(data, cuts) :
  Some distances were outside bins and have been removed.
2: In create_bins(data, cuts) :
  Some distances were outside bins and have been removed.
3: In create_bins(data, cuts) :
  Some distances were outside bins and have been removed.
> lapply(cc, test_stats, 1:2)
$`Full geog stratification`
        Statistic Distance_value       mrds_value       Difference Pass
1               n             88               88                0    ✓
2      parameters              4                4                0    ✓
3             AIC      315.78949 315.789556669798   0.000000211121    ✓
4  log-likelihood      -153.8947        -153.8948                0    ✓
5         density       0.020906       0.02754065        0.3173562
6     CV(density)      0.2778745       0.25884407       0.06848571
7     individuals          14954    19700.2664079        0.3173911
8 CV(individuals)      0.2778745       0.25884407       0.06848571

$`Pooled f(0)`
         Statistic Distance_value       mrds_value       Difference Pass
1                n             88               88                0    ✓
2       parameters              2                2                0    ✓
3              AIC     318.723114 318.723592371443   0.000001544825    ✓
4          Chi^2 p    0.910453618    0.91039363727    0.00006586028    ✓
5              P_a     0.60346657     0.6033303633     0.0002257569    ✓
6          CV(P_a)    0.115353502      0.116068874      0.006201585    ✓
7   log-likelihood      -157.3616        -157.3618                0    ✓
8          density     0.02283272       0.03028356        0.3263227
9      CV(density)     0.30821091       0.28221084       0.08435801
10     individuals          16333     21662.311527         0.326291
11 CV(individuals)     0.30821091       0.28221084       0.08435801

$`No stratification`
         Statistic Distance_value       mrds_value       Difference Pass
1                n             88               88                0    ✓
2       parameters              2                2                0    ✓
3              AIC     318.723114 318.723592371443   0.000001544825    ✓
4          Chi^2 p    0.910453618    0.91039363727    0.00006586028    ✓
5              P_a     0.60346657     0.6033303633     0.0002257569    ✓
6          CV(P_a)    0.115353502      0.116068874      0.006201585    ✓
7   log-likelihood      -157.3616        -157.3618                0    ✓
8          density     0.02637742       0.03028356        0.1480863
9      CV(density)     0.26317999       0.28221084       0.07231112
10     individuals          18868    21662.3115267        0.1480979
11 CV(individuals)     0.26317999       0.28221084       0.07231112

Comments:

  • Still some fairly big discrepencies here between the abundance/density estimates. Probably a good idea to check manually the study area size and the covered area (these don't appear to be stored in the Distance database).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions