Comments (6)
Simon: Thanks for reaching out. The weighted option for repeat transaction (rt) or weighted repeat sales approach defaults to the weighting proposed by Case and Shiller (http://www.econ.yale.edu/~shiller/pubs/p0781.pdf; https://www.nber.org/papers/w2393.pdf). You can add other weighting, but if you don't this default is used. Since there is no default for WLS in the hedIndex approach you must supply them if you hope to run a weighted model.
Perhaps I should clarify this in the documentation for my next release.
Thank you for reaching out and let me know if you have any other questions.
from hpir.
from hpir.
from hpir.
Simon: Regarding the 'You have supplied...' error message about weights, that error should only show if the length of the weights vector that you supplied is not the same length as the number of rows in your data. If you can send a reproducible example, i'll try to debug and see if the problem is on my end.
from hpir.
Simon: Actually, I see the problem. If you use the wrapper function (hedIndex
) and some of the records are removed due to having two sales of same property in the same period (mostly likely if using a annual or quarterly periodicity), then the weights will be the wrong length. Its a bug on my end. Thanks for bringing to my attention.
from hpir.
Simon: Implemented a fix here. remotes::install_github("andykrause/hpiR")
should get you the fixed version. I'll push this update to CRAN with my next version update.
Thanks for reporting the bug!
from hpir.
Related Issues (20)
- Differentiate Series and Index Accuracy
- Create Blending Option
- Move 'estimator' class object into generics HOT 1
- Allow custom weights in Repeat-Trans model HOT 1
- Add random forest option HOT 1
- Series Volatility should have naming option and summary
- Create minimum limit on repeat transaction distances
- Add Shapley Value option HOT 1
- Add Log Error HOT 1
- Accuracy output to give pair id match
- Bug: Kfold partitioning agreement
- Seasonality: Provide metrics and correction
- Update to dplyr 1.0.0 HOT 1
- Period table flexibility HOT 1
- Notes + Improvements (TBD)
- Upgrade to 4.0
- Price indexes varying by geographical area HOT 8
- Enhancement request: manual weights for properties. HOT 2
- Annualised data index not working HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hpir.