Skip to content

Commit

Permalink
resize fig
Browse files Browse the repository at this point in the history
  • Loading branch information
joshyam-k committed Apr 2, 2024
1 parent 8f646b2 commit 9e45ec7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ knitr::opts_chunk$set(

`saeczi` is an R package that implements a small area estimator that uses a two-stage modeling approach for zero-inflated response variables. In particular, we are working with variables that follow a semi-continuous distribution with a mixture of zeroes and positive continuously distributed values. An example can be seen below.

![](figs/README-zi-plot-1.png){width = 70%}
![](figs/README-zi-plot-1.png){width=60%}

`saeczi` first fits a linear mixed model to the non-zero portion of the response and then a generalized linear mixed model with binomial response to classify the probability of zero for a given data point. In estimation these models are each applied to new data points and combined to compute a final prediction.

Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ In particular, we are working with variables that follow a
semi-continuous distribution with a mixture of zeroes and positive
continuously distributed values. An example can be seen below.

![](figs/README-zi-plot-1.png){width = 70%}
<img src="figs/README-zi-plot-1.png" style="width:60.0%" />

`saeczi` first fits a linear mixed model to the non-zero portion of the
response and then a generalized linear mixed model with binomial
Expand Down Expand Up @@ -97,13 +97,13 @@ few rows of the results:

``` r
result$res |> head()
#> COUNTYFIPS mse est
#> 1 41001 524.33803 14.57288
#> 2 41003 1176.47914 103.33016
#> 3 41005 18891.79642 86.08616
#> 4 41007 27.43582 78.79615
#> 5 41009 4674.77845 73.98920
#> 6 41011 14.29977 90.44174
#> COUNTYFIPS mse est
#> 1 41001 222.8002 14.57288
#> 2 41003 1076.2263 103.33016
#> 3 41005 11531.0003 86.08616
#> 4 41007 2547.4668 78.79615
#> 5 41009 2432.7100 73.98920
#> 6 41011 1053.2496 90.44174
```

### Parallelization
Expand Down

0 comments on commit 9e45ec7

Please sign in to comment.