How to structure multivariate timeseries when timeseries metadata varies

I am forecasting from multivariate, geographical, timeseries data.

My data includes historical prices and production quantities per product, and different places produce and sell different sets of products. For example:

Sussex, UK Month 1 Month 2 Month 3
Wheat
Price USD 3 4 3
Qty Produced T 200 100 150
Apples
Price USD 1 2 0.8
Qty Produced T 20 10 50
Brisbane, Aus Month 1 Month 2 Month 3
Rice
Price USD 3 4 3
Qty Produced T 200 100 150
Banana
Price USD 5 4 3
Qty Produced T 200 300 450

The product lists are different for each location. I’m looking to forecast a (coarse) consumption indicator across all. How should I structure this for training and forecasting?

My Guesses, probably of little interest as I’m pretty inexperienced

One approach I could use would be to normalize and average all prices. (Prices are collected for the most important products in each area.) This would remove a lot of detail though. I could guess how important each product is by the quantity grown, but this could often be misleading. The relationships and tensions between price and production are useful.

I guess the brute force approach would be to have every product in every example, with an empty token for any products’ timeseries not traded in an area. That would be a very sparse and large dataset though.

Could I have say product1="rice w2v embedding", product2="banana w2v embedding", price_timeseries1=[rice prices], price_timeseries2=[banana prices] (then in another example, same for wheat and apples)? Is any model going to make sense of that complexity?

My best guess is categorizing products, eg, into ‘carbohydrate’ for rice and wheat, and normalize then mean average the products of each category. (Is there a way I can derive or learn the categorization?) I can’t find anyone else doing anything like this, and I’m so new to the field I’ll inevitably have overlooked important statistical detail.

The source geographical data is in admin units (town boundaries). I’m thinking either option (a) convert everything into a 100km2 grid, or (b) cos(lat).cos(lon), cos(lat).sin(lon), sin(lat) of shape centroid lon/lat, to get (scaled) coordinates in 3D, plus area and population.

Option (b) is easier, but admin units change over time.

Any recommendations/hunches?

I am (perhaps naively) considering ARIMA, XGBoost, LSTM, a timeseries transformer, maybe Mamba, if relevant. Given my utter inexperience, I suspect XGBoost is probably the sweet spot of complexity/capability and minimal tuning skills, although I’ll try more complex architectures, as I understand trees will miss relationships between production and price.

Huge thanks for any tips at all.

New contributor

Martin Home is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật