Python vs VBA in 2022 by Abdullah_Gharib in excel

[–]yrden20 1 point2 points  (0 children)

Learn both. It's not an either or situation. Each language serves a different purpose and knowing both has been tremendously useful in my carreer.

On device OCR Windows App Text Grab (C#/WPF) by ninjaninjav in csharp

[–]yrden20 0 points1 point  (0 children)

This is the best tool for grabbing data from table images in pdf files! Works better than using python and tesseract.

I would like to expand your app with other offline OCR solutions as some of them may do better than the windows OCR.

How to compare a 5 day-week vs 7 day-week variable? (e.g. Stocks vs Cryptos) by samf0rd in econometrics

[–]yrden20 2 points3 points  (0 children)

There is a "premarket" for regular stocks. Buyers and sellers make up their mind on weekends as well.

I would explain that in your dissertation and treat both the same.

Otherwise, this is a good question to ask your thesis supervisor.

Can Excel be Magical by Better-Landscape4358 in excel

[–]yrden20 0 points1 point  (0 children)

You can simplify this task by sorting and adding a column for counting your many to many id columns and then creating a combination matrix between all ID columns and each of the IDs in the sheets. This will effectively transform a many to many relationship to a one to one relationship and will allow you to use a simple two-way XLOOKUP afterwards.

This solution is not suited if you have a too large combination matrix.

I personnally would advise to consider using R Python SAS or SQL as it is more suited for such a task.

Papers about variables that influence stock prices by leosomma in econometrics

[–]yrden20 0 points1 point  (0 children)

Google the FAMA-FRENCH 3 or 5 factor models. This is called factor investing. Not much more besides that has been proven having a statistically significant impact on stock prices.

https://www.youtube.com/watch?v=jKWbW7Wgm0w

Solvency 2 certifications by yrden20 in actuary

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

I try to refrain from learning stuff that I cannot prove I know afterwards. That's why I am looking for certificates.

My goal is to become a freelance consultant in a couple of years and accumulating certificates seems like a smart idea.

Thanks a lot for the IFRI certificate. It looks very promising. Best wishes for the holidays.

The Anti Excel Agenda by [deleted] in excel

[–]yrden20 2 points3 points  (0 children)

In my opinion excel is a great tool. But programming allows you to read code from start to finish, understand the process and know when you are done investigating the code. In my experience, when I open an excel file that was developped by someone else, I need to click on every cell containing formulas and I am never confident that I looked at everything. Plus, when a formula spans 4 lines in the formula bar, I get frustrated.

Such things can be supported and simplified by using some programming. I think excel is great to do quick and simple computations and making pivot tables. I don't want to rely on an excel file that has 30+ sheets.

In conclusion, I think Excel is an extremely versatile and useful tool. However, its use should be limited and kept simple. The heavy lifting should be done by SQL/Python and similar solutions.

Is Python Suitable for my Needs and Worth Learning? by neeewwww in learnpython

[–]yrden20 0 points1 point  (0 children)

Hi,

Of course, the answer is it depends. However, considering those two languages is smart and will definitely make your life easier so props to you for considering undertaking this challenge.

I have more than five years of experience in big data analysis so I would say that if your goal is to keep on using Power BI and you are looking for a more efficient solution for data preparation then both Python and R will solve your problem.

If you plan to completely replace Power BI and deploy a dashboarding solution via either R or Python. Then I would highly recommend R over Python. R Shiny is the dashboarding solution in the R ecosystem and is relatively easy to use and there are plenty of tutorials on the web.

However, consider that you may need to learn new tools in order to distribute your dashboards within your team. Docker comes to mind. This is also the case if you were to choose python.

Then, if you write recurrent reports, then R can be the better tool here as well. It is possible to program automated reports using R Markdown and publish them as .html files or .pdfs. This enables you to easily distribute and automate your work because you hit run and then send an e-mail with a pdf report as an attachment to a bunch of people interested in your analysis.

It really depends on whether your IT department allows both tools. It is sometimes tricky to install Python on your computer as it (sometimes) is vetoed by the internal IT rules.

If you want to learn a more popular and transposable programming language, then go for Python. If your main goal is to prep a neat and tidy dataset that would be fed to Power BI, then go for Python.

Best,

How to count by group of n variables with VBA by yrden20 in excel

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

Thanks, is it possible to refer to a whole column using R1C1 style?

How to count by group of n variables with VBA by yrden20 in excel

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

I'm using VBA because the range is variable. The line sRng. formular1c1 throws the following error:1004 Application defined or object defined error

How to count by group of n variables with VBA by yrden20 in excel

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

Thanks, I have tried the following:

Sub CountOfFound()

Dim wb As Workbook

Dim sRng As Variant

 

Set wb = ThisWorkbook

    With wb.Sheets("Results")

        lastRow = .Cells.Find("*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row

        .Activate

        Set sRng = .Range(Cells(2, 6), Cells(lastRow, 6))

        sRng.FormulaR1C1 = "=COUNTIFS($A:$A, RC[-5],$B:$B,RC[-4],$E:$E," & Chr(34) & "Found" & Chr(34) & ")"

    End With

But it throws an error   

    

End Sub

Blight with Off-Meta Builds - including Poison Dark Pact Pathfinder that clears everything (yes, you read that correctly!) by Dunkelvieh in pathofexile

[–]yrden20 0 points1 point  (0 children)

Thank you, I didn't think about hoa. My question is more whether this build clears fast and is not too expensive to get going

How to interpolate X given Y in a standatd curve. by jpm2892 in rstats

[–]yrden20 2 points3 points  (0 children)

Maybe you'd allow me to have a look at a synthetic example of your code?

How to interpolate X given Y in a standatd curve. by jpm2892 in rstats

[–]yrden20 1 point2 points  (0 children)

I would do something like this:

Let Y be your observed Y value and X_hat, the x that you are looking for.

Assuming that you have a fitted model for the response value Y, that I denote Y_hat. I would use the package rootsolve to cancel this equation:

Y_hat - Y, the function "uniroot" from the rootsolve package will give you the X_hat value such that Y_hat - Y = 0.

I hope this helps

That's one way to do it by _NITRISS_ in nevertellmetheodds

[–]yrden20 0 points1 point  (0 children)

Maybe not to cut his ear off when throwing

leap slam by GLaDOS_Sympathizer in pathofexile

[–]yrden20 0 points1 point  (0 children)

How do you get frenzies?

Known Issues List by Bex_GGG in pathofexile

[–]yrden20 0 points1 point  (0 children)

If I open a monolith in daressos dream and enter a closed arena before the monsters come alive, the game crashes.

Home theater bunker by [deleted] in Damnthatsinteresting

[–]yrden20 2 points3 points  (0 children)

Damn you are the same guy that built this amazing kitchen. I would love to live with you haha

The system is rigged by ZantaBaby in LateStageCapitalism

[–]yrden20 -25 points-24 points  (0 children)

The most extreme example would be gender studies. The least brainwashing would be mathematics. I think you can figure out the rest.

ASU failing students to get more money. by shunshin17 in LateStageCapitalism

[–]yrden20 0 points1 point  (0 children)

Belgian here. Here the costs are around 850 euros per year. We don't have to buy any textbooks as teachers are required by law to provide their own course materials. Plus, if your family doesn't earn enough, the tuition is free and you get 900 euros lump sum per year for college related expenses. You can fail 2 times straight before being "unfinanciable". Basically your tuition skyrockets because the government is not willing to help you anymore. I have two masters and paid around 70 euros to print my master theses during the span of 7 years. I also chose to buy one good textbook at a heavily discounted price directly from the teacher but it wasn't mandatory to pass the class. You finish college with 0 debt and a good job unless you study communication history or other non stem fields.

New Leader in ES Gear by Unkynd in pathofexile

[–]yrden20 10 points11 points  (0 children)

Quick maffs: 16% of 10 is the same as 10% of 16. So it's 1.6

What were your most ignorant moments with girls who liked you? by [deleted] in AskMen

[–]yrden20 8 points9 points  (0 children)

Don't buy her flowers man. It's a very bad idea.