Ayush Patnaik

Results 54 comments of Ayush Patnaik

It's simple to add for replicate design, it's just a subset from DataFrames.

Hi @EngPeterAtef Sorry, I am not sure why I didn't get a notification when you commented. Apologies for the delay.

@EngPeterAtef We want to implement this function in Julia: https://r-survey.r-forge.r-project.org/survey/html/subset.survey.design.html

@a-keshav You can pick up this issue. You can add the CI to the returned data frame, however, we'll eventually need some structural changes that are being discussed in issue...

@britgyu wants to do this. @smishr are you confident this is a “good first issue”?

I remember there being a page where the author using dplyr to create sample datasets from apipop. Do you remember?

Can you dig out the link? I remember it was using `srvyr`

We can do the following: ```julia function variance(x::Vector{Symbol}, func::Function, design::ReplicateDesign{BootstrapReplicates}) θ̂ = func(design.data, x, design.weights) θ̂t = [ func(design.data, x, "replicate_"*string(i)) for i = 1:design.replicates ] variance = sum.((θ̂t .-...

Can you also accept `args`, and `kwargs` in the `variance` functions and pass them to `func`? @nadiaenh

Based on #277 We need types for estimates. Currently, `mean(x::Symbol, design::ReplicateDesign)` returns a `DataFrame`. Similarly, `total(x::Symbol, design::ReplicateDesign)` also returns a DataFrame. If we want a function, such as `CI` that...