commit 6109d8abafa19af3cc4bce88c555bec2d7c2bb5f
parent 31fb5c4c01ae84b59dd85ed99fcdf7be98fb7a30
Author: Erik Loualiche <eloualic@umn.edu>
Date: Tue, 20 May 2025 14:23:15 -0500
doc progress
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -111,6 +111,6 @@ panel_fill(df_panel, :id, :t, [:v1, :v2, :v3],
See my other package
- - [BazerData.jl](https://github.com/eloualiche/BazerData.jl) which groups together data wrangling functions.
+ - [BazerUtils.jl](https://github.com/eloualiche/BazerUtils.jl) which groups together data wrangling functions.
- [FinanceRoutines.jl](https://github.com/eloualiche/FinanceRoutines.jl) which is more focused and centered on working with financial data.
- [TigerFetch.jl](https://github.com/eloualiche/TigerFetch.jl) which simplifies downloading shape files from the Census.
diff --git a/docs/src/man/winsorize_guide.md b/docs/src/man/winsorize_guide.md
@@ -122,6 +122,8 @@ Winsorize multiple variables
var_to_winsorize = ["bill_length_mm", "bill_depth_mm", "flipper_length_mm"]
transform!(df,
var_to_winsorize .=> (x -> winsorize(x, probs=(0.1, 0.9)) ) .=> var_to_winsorize .* "_w")
+show(IOContext(stdout, :limit => true, :displaysize => (20, 100)), df, allcols=true, allrows=false)
+nothing; # hide
```
Winsorize on one side only
@@ -129,6 +131,8 @@ Winsorize on one side only
# left-winsorizing only, at 1th percentile;
# cap noi gstats winsor wage, cuts(1 100); gstats winsor wage, cuts(1 100) s(_w2)
transform!(df, :body_mass_g => (x -> winsorize(x, probs=(0.1, 1)) ) => :body_mass_g_w )
+show(IOContext(stdout, :limit => true, :displaysize => (20, 100)), df, allcols=true, allrows=false)
+nothing; # hide
```
Winsorize by groups