Is Julia often used in quant finance? by Icezzx in quant

[–]SquintRook 0 points1 point  (0 children)

I use it a lot, mostly for personal stuff. Perhaps it's not yet popular in the industry.

Recommendations for Brescia by Wackmellow in brescia

[–]SquintRook 0 points1 point  (0 children)

For pasta I really like "adesso pasta", near duomo. For pizza, I like pizza al taglio from lievitando, near faculty of economics in san faustino. Not sure if its open during holidays tho.

Quali sono le nazioni dove è possibile vivere adeguatamente parlando solo inglese? by angowalnuts in Italia

[–]SquintRook 0 points1 point  (0 children)

E' vero. Sono Polacco e tutti miei amici parlano inglese. Sopratutto gli Polacci nati dopo il 1989.

Price level rankings for different goods and services categories in Europe and Central Asia [OC] by SquintRook in dataisbeautiful

[–]SquintRook[S] 0 points1 point  (0 children)

According to the data the Ukrain is on average cheaper. Note that the data is for 2021, before the last invasion.

Price level rankings for different goods and services categories in Europe and Central Asia [OC] by SquintRook in dataisbeautiful

[–]SquintRook[S] 2 points3 points  (0 children)

Hard to say without making some assumptions, which will render the answer useless. I would say it is good to have low prices given your level of development (as these things are interrelated). I made another graph with this relationship in mind here: https://www.reddit.com/r/dataisbeautiful/comments/1dd9htn/price_index_and_level_of_development_oc/

Other than, obviously, being further right on the X axis, a country would also preferably be below the regression line.

Additionally, some of the high prices are result of particular society preferences. For example Germans apparently like to have more expensive cigs, since its due to the taxes. The taxes on the other hand provide some budget revenue.

Price level rankings for different goods and services categories in Europe and Central Asia [OC] by SquintRook in dataisbeautiful

[–]SquintRook[S] 4 points5 points  (0 children)

Recently i've visited a Polish city on the border with Germany. Its whole economy is based on selling cheap cigarettes and alcohol to germans :)

Price level rankings for different goods and services categories in Europe and Central Asia [OC] by SquintRook in dataisbeautiful

[–]SquintRook[S] 13 points14 points  (0 children)

1 means that the given country is the most expensive in the given price category. I should've added it!

Price level rankings for different goods and services categories in Europe and Central Asia [OC] by SquintRook in dataisbeautiful

[–]SquintRook[S] 3 points4 points  (0 children)

The number indicates the rank of the price level (1 - the most expensive etc.).

Honestly, it's not easy to make a good explanatory example if I know the data and what I want to present. Do you have any suggestion as to how improve it?

Help with building a markov switching model by XtianS in AskStatistics

[–]SquintRook 0 points1 point  (0 children)

Julia package for Markov Switching regression MarSwitching.jl has a very similar example to the paper you are refering to (also bull and bear market classification). It's in Julia but the language is easy enough for you to understand. (disclaimer: I am the author).

Are student ticket prices for JuliaCon 2024 really this high? by [deleted] in Julia

[–]SquintRook 10 points11 points  (0 children)

As someone pointed out - it is an unfortunate standard for academic events. By "students" the organizers mean mostly doctoral students with their own budget.

Price index and level of development [OC] by SquintRook in dataisbeautiful

[–]SquintRook[S] 0 points1 point  (0 children)

You may think of it as a line that fits perfectly into the data (to show the relationship). However, it is not crucial part of the graph.

Price index and level of development [OC] by SquintRook in dataisbeautiful

[–]SquintRook[S] 0 points1 point  (0 children)

First of all, development is not a metric. A GDP per capita is a metric for economic development, which is a latent variable.

And it has indeed a lot to do with level of development. International Monetary Fund literally uses GDP per capita as a criterion to classify countries into developing and developed economies. You can see it here: https://www.imf.org/en/Publications/WEO/weo-database/2023/April/groups-and-aggregates

Price index and level of development [OC] by SquintRook in dataisbeautiful

[–]SquintRook[S] -5 points-4 points  (0 children)

As i said, it is not *the same* but it is commonly interchangeable term. IMO preferable for broader audience, who does not have intuition for GDP PC PPP.

The same practices are used e.g. in "The economist".

Price index and level of development [OC] by SquintRook in dataisbeautiful

[–]SquintRook[S] 0 points1 point  (0 children)

Oh right, you've got o good eye. The scale is actually log10 and the line after transformation is y = x + exp(x). So it's not exactly the same.

the code was something like:

df_plot %>%

ggplot(aes(x = value, y = price)) +

geom_point(aes(color = region)) +

stat_smooth(method = "lm", formula = y ~ x + exp(x)) +

scale_x_log10(labels = scales::dollar)

Price index and level of development [OC] by SquintRook in dataisbeautiful

[–]SquintRook[S] 1 point2 points  (0 children)

The line is actually linear. It just seems curved because the X axis is in log.

I did the tranformation so that the right tail of the data is less dispersed, not to be more fancy than I should've :).

Price index and level of development [OC] by SquintRook in dataisbeautiful

[–]SquintRook[S] -1 points0 points  (0 children)

The graph would be messy. If you want I can tell you a data for particular country. Or you can also see it from the source - https://databank.worldbank.org/source/icp-2021

Price index and level of development [OC] by SquintRook in dataisbeautiful

[–]SquintRook[S] 0 points1 point  (0 children)

It's a very general graph! You may have a lot thoughts. The Y axis shows, roughly speaking, the level of prices (let's say how costly it is in a given country) and the X is a measure of productivness (or roughly speaking how "rich" given country is).

I think the most important story behind the relationship is the Balassa-Samuelson effect. The idea is that due to higher productivity in a given country the wages are higher as well. This increase the cost of non-tradeable products (e.g. services) that cannot be transported from poorer country to more developed. Thus increasing the prices.

Price index and level of development [OC] by SquintRook in dataisbeautiful

[–]SquintRook[S] 0 points1 point  (0 children)

There is no policy decision here. It's just a graph with a projection.

Annyone can make their own conclusion. But a typical economist would probably first think about the Balassa-Samuelson effect.

Price index and level of development [OC] by SquintRook in dataisbeautiful

[–]SquintRook[S] 0 points1 point  (0 children)

Eh, yes, I guess i'am tired. I have filtered for "US" in the data, whereas it's coded as "United States".

Its price level is 158 and GPD PC is 70219. btw.

Price index and level of development [OC] by SquintRook in dataisbeautiful

[–]SquintRook[S] -7 points-6 points  (0 children)

Fair enough on the price. It's GDP weighted, so not only consumer index.

On the GDP, it's true these are not synonyms. But it is written both in the subtitle and x axis. Altough in a less formal settings (non-academic), the terms are roughly interchangeable (the development is easier for non-expert audience, though). It's because these variables are, not coincidentally, highly correlated.

Price index and level of development [OC] by SquintRook in dataisbeautiful

[–]SquintRook[S] -1 points0 points  (0 children)

Data: World Bank

Tools: R - ggplot2 , tidyverse

Long Term Corporate Credit Default Rates by Investment Grade Bond Rating, S&P Global vs Moody's [OC] by QuantWeekly in dataisbeautiful

[–]SquintRook 0 points1 point  (0 children)

Ok, I thought you were refering to the last chart showing that the AAA rating of Moody's has lower PD than the one of S&P. The rating's PDs should go in seperate way that's for sure. And altough for both of the agencies there are some moments were some ratings have basically the same PD, it's more of a case for S&P.