AverageShiftedHistograms.jl icon indicating copy to clipboard operation
AverageShiftedHistograms.jl copied to clipboard

Passing weights for each observation

Open juliohm opened this issue 6 years ago • 4 comments
trafficstars

Is it possible to pass a weights vector to the ash function? I need to weight observations differently in a spatial context as exemplified here. I am currently using StatsBase.Histogram which has an option for weights. I believe average shifted histograms also support it?

juliohm avatar Aug 03 '19 15:08 juliohm

Is it possible to pass a weights vector to the ash function?

Not yet! That shouldn't be too hard to add, though. I probably won't have time for it within the next week or two, but I'll keep it on my list of things to do.

joshday avatar Aug 04 '19 12:08 joshday

Hi @joshday can you please describe how you were planning to implement this? Perhaps someone at xKDR can pick it up. We need it for the Survey package.

ayushpatnaikgit avatar Jun 22 '23 06:06 ayushpatnaikgit

I'm not planning on implementing this. Happy to review a PR, though.

joshday avatar Jun 22 '23 14:06 joshday

Hi @joshday can you please describe how you were planning to implement this?

I believe @itsdebartha would be interested in doing this!

ParadaCarleton avatar Jun 25 '23 20:06 ParadaCarleton