- 95
- 105 184
Zhijing Eu
เข้าร่วมเมื่อ 4 ก.ค. 2007
Hey there- I'm Z. I post about Data & Analytics, productivity and personal effectiveness and occasionally make coding tutorials. Thanks for checking out my channel.
If you like my content consider visiting my
Medium Blog :
zhijingeu.medium.com
LinkedIn page :
www.linkedin.com/in/zhijing-eu-25a4362
I believe that beyond the AI/ML hype it's People who will power Digital Transformation where success will need more than just fancy tools but also digitally literate & curious thinkers to drive the right cultural change.
If you like my content consider visiting my
Medium Blog :
zhijingeu.medium.com
LinkedIn page :
www.linkedin.com/in/zhijing-eu-25a4362
I believe that beyond the AI/ML hype it's People who will power Digital Transformation where success will need more than just fancy tools but also digitally literate & curious thinkers to drive the right cultural change.
KPIs - The Problem of Measuring Inputs vs. Outputs vs. Outcomes
"If you can't measure it, you can't improve it" - Peter Drucker
Driving performance often means "keeping score" of how we're doing but how do we know if we are measuring the right things?
In this video, we dive into the complexities of using Key Performance Indicators (KPIs) to measure success, focusing on the challenge of measuring outcomes and impact rather than just inputs, activities, or outputs.
We discuss the risks of poorly designed metrics and how that can lead to perverse incentives and unintended behaviors. when KPIs are too tightly bound to reward systems.
We also explore the problem of sampling in performance measurement as you can't possibly measure everything but measuring subset of data can lead to pitfalls such as survivorship bias.
Finally we move from KPIs to Objectives and Key Results (OKRs), a framework designed to prioritize meaningful outcomes, set impactful goals and drive real progress.
Join us as we unpack how to avoid these common KPI mistakes and use OKRs to align goals and track success.
References/Resources:
-Navigating the Nuances of OKRs: Understanding Inputs, Activities, Outputs, Outcomes, and Impact (Apr 2024) okrinternational.com/inputs-activities-outputs-outcomes-and-impact
-OKR vs KPI: Differences and how they work together (Jul 2024) mooncamp.com/blog/okr-vs-kpi
-The Cobra Effect (Jul 2019) sketchplanations.com/the-cobra-effect
-Survivorship Bias (Sep 2021) www.iflscience.com/how-a-helmet-and-a-bulletriddled-plane-perfectly-demonstrates-survivor-bias-60930
Image Credits:
-depositphotos.com/photos/healthcare.html
-sketchplanations.com/the-cobra-effect
-collection.nam.ac.uk/detail.php?acc=2001-04-1-53
Music/Audit Credits :
-Music: Morning / Musician: LiQWYD / URL: www.soundcloud.com/liqwyd
-Music: Spirit Blossom / Musician: RomanBelov /URL: pixabay.com/music/-spirit-blossom-15285/
-Music: Chill / Musician: LiQWYD / URL: www.soundcloud.com/liqwyd
Driving performance often means "keeping score" of how we're doing but how do we know if we are measuring the right things?
In this video, we dive into the complexities of using Key Performance Indicators (KPIs) to measure success, focusing on the challenge of measuring outcomes and impact rather than just inputs, activities, or outputs.
We discuss the risks of poorly designed metrics and how that can lead to perverse incentives and unintended behaviors. when KPIs are too tightly bound to reward systems.
We also explore the problem of sampling in performance measurement as you can't possibly measure everything but measuring subset of data can lead to pitfalls such as survivorship bias.
Finally we move from KPIs to Objectives and Key Results (OKRs), a framework designed to prioritize meaningful outcomes, set impactful goals and drive real progress.
Join us as we unpack how to avoid these common KPI mistakes and use OKRs to align goals and track success.
References/Resources:
-Navigating the Nuances of OKRs: Understanding Inputs, Activities, Outputs, Outcomes, and Impact (Apr 2024) okrinternational.com/inputs-activities-outputs-outcomes-and-impact
-OKR vs KPI: Differences and how they work together (Jul 2024) mooncamp.com/blog/okr-vs-kpi
-The Cobra Effect (Jul 2019) sketchplanations.com/the-cobra-effect
-Survivorship Bias (Sep 2021) www.iflscience.com/how-a-helmet-and-a-bulletriddled-plane-perfectly-demonstrates-survivor-bias-60930
Image Credits:
-depositphotos.com/photos/healthcare.html
-sketchplanations.com/the-cobra-effect
-collection.nam.ac.uk/detail.php?acc=2001-04-1-53
Music/Audit Credits :
-Music: Morning / Musician: LiQWYD / URL: www.soundcloud.com/liqwyd
-Music: Spirit Blossom / Musician: RomanBelov /URL: pixabay.com/music/-spirit-blossom-15285/
-Music: Chill / Musician: LiQWYD / URL: www.soundcloud.com/liqwyd
มุมมอง: 61
วีดีโอ
GenAI Podcasts With NotebookLM- 🤖 Say Whaaat !?
มุมมอง 542 หลายเดือนก่อน
Here's a quick walk-through of a cool feature recently released in Sep 2024 for Google's NotebookLM , an AI Powered note-taking/study app. blog.google/technology/ai/notebooklm-audio-overviews/ The new "Audio Overview" feature allows users to create short podcasts hosted by two AI generated characters who discuss the specific content uploaded. What's notable (pun intended hah!) is how natural th...
Channel Trailer
มุมมอง 862 หลายเดือนก่อน
Hey there ! I'm Z and welcome to my channel. I post about Data & Analytics, productivity and personal effectiveness and occasionally coding tutorials. Thanks for checking out my channel. Here's a playlist of the videos featured in this channel trailer: th-cam.com/video/1c9TsVKrtpg/w-d-xo.html If you like my content consider visiting my Medium Blog zhijingeu.medium.com LinkedIn page www.linkedin...
Practice Your Presentation Delivery With MS PowerPoint Speaker Coach
มุมมอง 292 หลายเดือนก่อน
Here's a quick demo of a little known feature in Microsoft PowerPoint called Speaker Coach that can listen to your delivery of your presentation and give you useful advice on your pacing, pitch , use of repetitive words or fillers and whole range of other things. support.microsoft.com/en-us/office/rehearse-your-slide-show-with-speaker-coach-cd7fc941-5c3b-498c-a225-83ef3f64f07b If you enjoyed th...
3 Tips For Delivering Presentations That Engage & Inspire !
มุมมอง 372 หลายเดือนก่อน
Public speaking can be a pretty anxiety inducing experience. I recently had the honor of being a speaker at an external professional conference. In this video I summarize and share three things that I've picked up while preparing for my own presentation that might help you ! Timestamps 0:00 - 1:04 Introduction 1:05 - 2:43 Know Your Audience 2:44 - 3:43 Know Your Story 3:43 - 4:36 Know How You'r...
AI ML Implementation In Supply Chain & Procurement Global Business Services - Lessons & Insights
มุมมอง 342 หลายเดือนก่อน
Here's a sneak preview of my upcoming talk that I will be delivering at the 2024 Global Business Services Summit in Kuala Lumpur, Malaysia on 12th Sep 2024 with the conference theme of "Global Leadership : Pioneering GBS Expansion, Talent Regeneration, and AI Advancement" www.agossummit.com If you work in the GBS sector and plan to be in KL, get your tickets at MYR 1,600/pax at www.agossummit.c...
Applying Systems Thinking To Improve Data Quality
มุมมอง 842 หลายเดือนก่อน
Systems Thinking focuses on looking at the bigger picture and understanding how different parts of a system interrelate and interact. In this video , we walk through an introduction to some key ideas in System Thinking and apply a System Thinking lens to the challenge of Data Quality Management 00:00 Introduction 00:15 Atomic Habits 00:40 Wicked Problems 01:17 Key Principles In Systems Thinking...
Stop Data Lakes From Becoming Data Swamps By Preventing Data ROT
มุมมอง 593 หลายเดือนก่อน
Artificial Intelligence may be all the rage lately but the performance of any algorithm will only be as good as the quality of your underlying data. While many large enterprises have set up Data Lakes, these can quickly degrade into Data Swamps where data is cluttered, messy and of questionable lineage and quality. One of the possible reasons for Data Lakes turning into Swamps is R.O.T which is...
Circle Of Influence ⭕
มุมมอง 2413 หลายเดือนก่อน
Change is inevitable, and it can be challenging to maintain focus and motivation amid constant shifts and factors beyond our control. In this video, we explore the Circle of Influence, a concept from Stephen Covey's Seven Habits of Highly Effective People. Learn how to direct your time and energy towards areas where you can make a difference and impact outcomes #personalresilience References 1....
The Science Of Failing Well : What It Takes To Ensure Intelligent F[ai]lures
มุมมอง 404 หลายเดือนก่อน
“I've missed more than 9000 shots in my career. I've lost almost 300 games. 26 times, I've been trusted to take the game-winning shot and missed. I've failed over and over and over again in my life. And THAT is why I succeed.” - Michael Jordan In this video we explore some ideas from Amy Edmonson's 2023 book "The Right Kind Of Wrong - The Science Of Failing Well", why these concepts apply to cu...
Analyzing Customer Cohort Retention With Python
มุมมอง 2524 หลายเดือนก่อน
This is comprehensive code along video that explains a Python notebook that implements a custom class with a range of helpful methods to simplify cohort retention analysis. For better context watch this video first ! th-cam.com/video/5cxKtSZ60lE/w-d-xo.html A Cohort Retention Analysis estimates customer churn (i.e The rate at which customers stop being customers) by grouping customers into “coh...
Analyzing Customer Retention With Cohort Churn Analysis
มุมมอง 2154 หลายเดือนก่อน
Many organizations tend to focus on acquiring new customers during their initial rapid growth stage. However the key to sustainable business success is building up a loyal customer base by ensuring that you retain your existing customers. A Cohort Retention Analysis estimates customer churn (i.e The rate at which customers stop being customers) by grouping customers into “cohorts” and analyzing...
Websim.ai Demo
มุมมอง 7934 หลายเดือนก่อน
This video is a short demonstration of a GenAI tool called websim.ai that allows users to create entire websites from a text prompt In the video I asked the tool to make me a fake corporate website for the Supply Chain department within a Shell (open admission I currently work there) just as an experiment websim.ai/c/EcsE5EsDzuw54rTDB
Customer Lifetime Value With Python PyMC-Marketing Part III: Code Walkthrough
มุมมอง 3755 หลายเดือนก่อน
This is Part 3 of a series that accompany a Medium article I wrote that explains the concept of Customer Lifetime Values (CLV) and how to apply a modelling method called Buy Till You Die via a Python library called PyMC Marketing available here: blog.devgenius.io/estimating-customer-lifetime-value-with-buy-till-you-die-modelling-python-pymc-marketing-85bc64fce8a6#4ca8 In this video , we go into...
Customer Lifetime Value With Python PyMC-Marketing Part II : Bayesian Statistics
มุมมอง 6015 หลายเดือนก่อน
This is Part 2 of a series that accompany a Medium article I wrote that explains the concept of Customer Lifetime Values (CLV) and how to apply a modelling method called Buy Till You Die via a Python library called PyMC Marketing available here: blog.devgenius.io/estimating-customer-lifetime-value-with-buy-till-you-die-modelling-python-pymc-marketing-85bc64fce8a6#4ca8 In this video , we cover s...
Estimating Customer Life Time Value With Buy Till You Die Modelling
มุมมอง 625 หลายเดือนก่อน
Estimating Customer Life Time Value With Buy Till You Die Modelling
Estimating Customer Life Time Value with PyMC Marketing
มุมมอง 1095 หลายเดือนก่อน
Estimating Customer Life Time Value with PyMC Marketing
Bridging The Last Mile In Data Analytics
มุมมอง 515 หลายเดือนก่อน
Bridging The Last Mile In Data Analytics
Customer Lifetime Value With Python PyMC Marketing Part I : Buy-Till-You-Die Models
มุมมอง 2415 หลายเดือนก่อน
Customer Lifetime Value With Python PyMC Marketing Part I : Buy-Till-You-Die Models
Customer Lifetime Value With Python PyMC Marketing
มุมมอง 2466 หลายเดือนก่อน
Customer Lifetime Value With Python PyMC Marketing
Lost in Translation-Translated !: Leverage AI To Deliver Standardized Classification Systems
มุมมอง 446 หลายเดือนก่อน
Lost in Translation-Translated !: Leverage AI To Deliver Standardized Classification Systems
Lost in Translation : Why Standardized Enterprise Classification Systems Matter : 🍟vs 🥔
มุมมอง 336 หลายเดือนก่อน
Lost in Translation : Why Standardized Enterprise Classification Systems Matter : 🍟vs 🥔
Leveraging The PARA Method To Re-organize Your Digital Life
มุมมอง 587 หลายเดือนก่อน
Leveraging The PARA Method To Re-organize Your Digital Life
Data Supply Chains: Applying Lessons From Supply Chain Management 🚚🔗🚢To Data Management💻🔢
มุมมอง 1478 หลายเดือนก่อน
Data Supply Chains: Applying Lessons From Supply Chain Management 🚚🔗🚢To Data Management💻🔢
Why Motivational Posters Only Go So Far & The Power Of Atomic Habits
มุมมอง 858 หลายเดือนก่อน
Why Motivational Posters Only Go So Far & The Power Of Atomic Habits
Customer Segmentation Via RFM Analysis And K Means Clustering
มุมมอง 3979 หลายเดือนก่อน
Customer Segmentation Via RFM Analysis And K Means Clustering
7:39. When I have a excel files with multiple sheets, and in each sheet there's data and I conver this input file to CSV... How is the syntax to address each sheet and select and specific colum ? HUGEE THANKS Mr. Zhijing Eu :)
thanks very very nice but pl share formuale for NPV in column M ,
@@MrSahilspm all the spreadsheets and Jupyter Notebooks used in the video series is available at github.com/ZhijingEu/Optimizing_Capital_Budgeting_With_ILP_Methods
NotebookLM just added the ability to add TH-cam Video links so it can summarize transcripts of long YT videos ! blog.google/technology/ai/notebooklm-audio-video-sources/
Sorry about the sound quality of the GenAI Podcast clips but if you'd like to listen to the full audio I've also uploaded them here: UK Public Procurement soundcloud.com/zhijing-eu/uk-public-procurement?si=7566b0328b434148a52290bc3bd6d424& Wittgenstein soundcloud.com/zhijing-eu/wittgenstein?si=7566b0328b434148a52290bc3bd6d424&
Suppose I am calculating the uncertainty in a quality H, where as H= a x b x c x d and in here, b,c and d, all three have low, most likely and high values available, should I calculate low, most likely and high values of H first and then calculate uncertainty using three values of H? OR i should first calculate risk vales for b,c and and then some how use them to calculate the uncertainty in value of H?
If you have the underlying data / records to build an estimate at the finer granularity (i.e a,b,c ,d) you should use that and let the simulation results determine the range of the coarser variable H. The trick will be whether you have the cross correlation data between a,b,c,d . Unless you apply some form of correlation , the central limit theorem will make the variability "cancel out" and you will likely underestimate the true amount of variability in H. You should also consider the potential problem of mismatched granularity in model input variables i.e if you model a,b,c,d as inputs but the other model inputs are more at the level of H as this can make interpreting the input drivers a bit harder.
@@ZhijingEu I believe a.b.c. and d are coming from independent sources and have no correlation in between. So I would calculate the low value of H, using low values of b,c, and d, (similarly most like and high values of H) and then apply pertrisk on three values of H to calculate uncertainty. Thank you Zhi, XLR is extremely user friendly and your guidance was really helpful. Best Regards
@@Mzalikhan1983 glad you found the content helpful. Good luck and on a final note, do watch out about your assumption that the variables are independent and uncorrelated. Case in point : www.barrons.com/articles/when-markets-crash-everythings-correlated-even-factors-51548324000
Hi Zhi, Thank you for this detailed elaboration. If we have one of the cost component, for which we are sure that that has only one cost estimate, can we assume its lowest, highest and most likely value to be same and include it in the sum?
@@Mzalikhan1983 if the cost element really has zero variability just add it to the sum total but as a flat input (I.e Just a static fixed number instead of an XlRisk Formula) The only thing is that the cost element won't show up in the risk tornado chart since there is no expected risk of change in the estimate.
@@Mzalikhan1983 have you checked if the low, most likely high values are valid? There is a limit to how much you can "stretch" or "squish" the pert shape ... You might want to post a question on the official XlRisk github page too github.com/pyscripter/XLRisk/issues
My bad Zhi, it works perfectly fine when i wrote =RiskPert(D2,E2,F2), It gave me error previously when I was using =RiskPert(D2:F2).
fake fuulllllls mvl gar bageeee
mvl fuuuuul doing risk without montecarlo simulations, he is a big fuuullllllll of the world
Global Business Services (GBS) are centralized models that deliver services to multiple business units across functions like HR, IT, Finance or Procurement to streamline operations, improve efficiency, and better serve customers. In 2023, Malaysia was ranked 3rd out of 78 other countries in Kearney’s Global Services Location Index 2023 for the country's cost-effectiveness and quality of talent pool. www.kearney.com/service/digital-analytics/gsli
At 8:05, I didn't manage to cover it in the video but rather than applying even more controls on how data is created, another way to "break the habit of quick & dirty local point fixes" is to introduce Data Quality Feedback Loops. These are quick report - respond - improve - communicate cycles that people using the data can easily apply to close the loop with people responsible for generating the data in the first place thereby making the value of good data clearer. This is covered in this HBR article where the core idea is to design products/ processes that continuously gain feedback throughout all parts of the (data) consumption stages and leverages those inputs to iteratively improve the user experience. hbr.org/2023/07/to-get-better-customer-data-build-feedback-loops-into-your-products
Greeting from Singapore~😀
On a closely related topic to Data Swamps - in software development there is something called the Big Ball Of Mud Architectural (Anti) Pattern which describes systems that are "haphazardly structured, sprawling, sloppy, duct-tape and bailing wire, spaghetti code jungle. These systems show unmistakable signs of unregulated growth, and repeated, expedient repair. Information is shared promiscuously among distant elements of the system, often to the point where nearly all the important information becomes global or duplicated. The overall structure of the system may never have been well defined. If it was, it may have eroded beyond recognition" blog.codinghorror.com/the-big-ball-of-mud-and-other-architectural-disasters/
For any AI enthusiasts - you can also check out a Generative AI written article on my Medium page that was based on this video here : zhijingeu.medium.com/learning-from-failure-embracing-mistakes-for-growth-079adbaff798 which was made using a service called Video To Blog www.videotoblog.ai/
00:07 Introduction 00:45 0.Importing Libraries 01:07 1.Creating Custom Class 01:46 2.Loading & Cleaning The Input Data 04:06 3.Instantiating A Custom Class Object 06:05 4.Aggregating Data To The Selected Time Granularity 07:40 5.Spend Over Time and Retain vs New Customer Over Time Plot 10:10 6.Cohort Analysis - Overview 12:14 6.1 Cohort Churn Analysis By Join Period 15:14 6.2 Cohort Churn Analysis By Customer Attribute 16:23 6.3 Average Retention By Time Step 16:54 6.4 Total Customers By Cumulative Transaction Count 17:40 6.5 Average Duration Between Sequential Transactions 18:40 6.6 Cohort Churn Analysis By Join Period By Max Inactivity Period 21:00 7. Recency Frequency Monetary RFM Analysis 23:11 Use Of Same Custom Class With Online Retail II Dataset 24:35 Conclusion
Here's the link to the Medium article - blog.devgenius.io/analyzing-customer-retention-via-cohort-analysis-1f381748e555
Great stuff
Thanks! Check out my article too. It expands on the ideas in the video and has a bunch of links to other useful resources www.linkedin.com/pulse/data-supply-chains-zhijing-eu-wxhlc/
really good! Congrats!
Timecodes 0:00-Introduction 1:30-Dataset Background , Data Loading & Data Clean-Up 3:12-Selecting The Right Time Granularity 5:39-Exploratory Data Analysis 8:00-Train/Test Split 8:50-Recency Frequency Monetary Analysis 14:05-Simple Average Customer Lifetime Value 15:12-PyMC Marketing Python Library 17:00-Fitting A Buy Till You Die BG-NBD Model To Training Data For Purch. Freq & Drop Out Rate 23:31-Plot Of Probability Of Active/Inactive For Individual Customer 24:39-Fitting A Buy Till You Die GG Model To Training Data For Monetary Value 26:42-Evaluating The Model Performance Against Test Data Results 28:48-Forecasting Future Purchasing Behaviours & Customer Lifetime Value 32:27-Wrap Up
Great video! I'm the lead developer for the CLV module of pymc-marketing, and left a detailed comment on your Medium article.
@@coltallen309 oh my gosh this is a "senpai noticed me" moment. On a serious note, thank you and the team working on pymc marketing for creating a great enabler for better marketing analytics and clear documentation. Happy to be part of the user community. I wrote the article as part of a Feynman Technique experiment - to improve my own understanding by writing not just a how-to piece but also covering the why and so- what.
Part 1 which covers Buy Till You Die BTYD Modelling is available here : th-cam.com/video/SngwCEt_2MI/w-d-xo.html
Check out the GenAI powered multi-lingual version of this same video here : th-cam.com/video/wz4lbSK07Tg/w-d-xo.htmlsi=1xA1SP7MZiuH8_vu
Here's the full Gen AI Hindi translation app.heygen.com/video-translate/share/a44c1599af17409fa50bf2ea37a71192
Here's the full Gen AI Filipino translation app.heygen.com/video-translate/share/a060d5c87fa74631873f4ae1fb8b66c2
Here's the full Gen AI Polish translation app.heygen.com/video-translate/share/f7e0971855bb4fc69f93db2bfae2707f
On topic of misunderstandings : Wife texts husband on a cold winter morning: "Windows frozen, won't open." Husband texts back: "Gently pour some lukewarm water over it and then gently tap edges with hammer." Wife texts back 10 minutes later: "Computer really messed up now."
Can you share the python code related to XLRisk Monte Carlo simulation ?
Did you mean the XLXS file? It's here github.com/ZhijingEu/MonteCarloSimulation
I also have a Python version of the same worked example here : th-cam.com/video/UISccjS1Gv4/w-d-xo.htmlsi=5j9qtmt7P6X17B_E
@@ZhijingEu Amazing!! Thank you.
@@ZhijingEu Thank you.
If you liked this video you may also enjoy this other explainer videos on Wicked Problems Kennisland-How To Work With Wicked Problems th-cam.com/video/HrWbicvDLPw/w-d-xo.htmlsi=eUvg7T16_D-nIltW
Came for monte carlo , stayed for an open source tool, XL Risk !
Check out my sequel video where I walk thru a Python based approach medium.com/analytics-vidhya/building-a-probabilistic-risk-estimate-using-monte-carlo-simulations-with-python-mcerp-7d57e63112fa
Great guide, thanks a lot!
Hello Zhijing Eu, thanks for your kind effort. Im trying to practice the simulation by watching your video. I've used the same variables and the same values like yours. I've installed the XLRisk correctly. However, my resluts shows no outputs, no graphs but inputs only. Could you please guide me to solve the issue? Thanks in advance.
Hey Zhijing, firstly, this is amazing and very helpful. Thanks for the content. It made life easy. One thing I can't get my head around is how the correlation matrix works in understanding those values and attributing them to the elements. I have gone through your links posted for more examples and answers in the comments yet I can't seem to wrap my head around it. How does the risked value lets say in accommodation, understand that there is a correlation of 0.85 between its value and the value of meals. I do not see any link in those tabs. The function reads numbers from a table that do not have the elements linked. I might be super confused, but I've been scratching my head around this a lot. Hope you can help...
great Explanation
Can you help me with something? I'm getting the following error with corr matrix: "The table (referenced) doesn't have all off-diagonal values between -1 and 1". The thing is that it is, and there is nothing on githup about how to deal with it.
Under the tab Uncertain Range+Events+Corr, there is a table in cells G14:I16 that represents the correlation matrix. Maybe you accidentally changed the values in the non diagonal cells? (H14, I14, G15, I15, G16, H16)
@@ZhijingEu Your is perfect, I'm using another one, the values for the correlation differ from -0,27 to 1 with 19 variables (diagonal all 1), I've tried to change the numbers and reduce the 19 but receive the same message.
Hmmmm... This is tricky. First try to set the non diagonals as zeroes just to see if it still runs and it's not an XLRisk problem. If not then it could be that the correlation matrix is inconsistent. kb.palisade.com/index.php?pg=kb.page&id=75 Unfortunately unlike commercial software like @Risk or Frontline Solver which have Auto Corr matrix adjustment tools, you might have to find a way to use Python to calc the eigen values... if you know a bit of coding you might be able to apply the method described here to adjust your coefficients community.wolfram.com/groups/-/m/t/1078904
Try these stackoverflow.com/questions/10939213/how-can-i-calculate-the-nearest-positive-semi-definite-matrix or stackoverflow.com/questions/43238173/python-convert-matrix-to-positive-semi-definite
Hello Zhijing Eu, thanks a lot for your video. i try to use monte carlo for QMRA. Is it true if i say graph cummulative distribution describe about variability? I found out about how to make uncertainty with monte carlo, and it said that i need to second-order. But i confused about parameter input that i use in second-order. And i cant find Tornado diagram in my XLRisk. i use 2 parameter input for my output. does it affect the output of the diagram?
So cool!
Zhijing, amazing explanation. Very didatic. Many thanks. If you allow me please inform in the details of the video the link to download your file.
github.com/ZhijingEu/MonteCarloSimulation
Hey Zhijing, can you show it again how you linked the correlation matrix with results in I4:I9. I am getting following message when I try to run simulation. "The risk functions have not been properly linked to the correlation matrix".
In the tab Uncertain Range+Events+Corr, there is a matrix in cells G14:I16. This is referenced in the risked ranges in cells I4 to I9 via the ",RiskCorrmat" suffix to the risk distribution being used. Read the help documentation for more examples github.com/pyscripter/XLRisk/wiki/CorrelatedInputsExample
Tx Zhijing, but you must have done something in addition to RiskCormax in order to enhance the correlation. I see that cells in I4:I9 are named i.e., I5 is "AccomCost" etc... Have you connected it somehow to Corr matrix?
You need to ensure you name the range for the Corr matrix but also specify which variable you are referring to i.e I5 Accom Cost is ", RiskCorrmat($G$14:$I$16,1)" , I6 Meals is ", RiskCorrmat($G$14:$I$16,2)" and I8 Holiday Tours is ", RiskCorrmat($G$14:$I$16,3)"
Tx, sorted out.
Goog job, this is great man ! Keep going
is it possible to download the spreadsheet to see the data there? recognising it would need the addin to operate. thanks
github.com/ZhijingEu/MonteCarloSimulation/
Hi idol. next please. fluid simulation of navier stokes😊
That was nice explanation. Could we be able to do it using python ? Thanks
You can run Monte Carlo Sims using just Numpy and Scipy. However this can be a a bit tedious to set up so there are a few Python Libraries that simplify this process in terms of providing more choices for sampling methods, managing sub-simulations and summarising the results PyMCSL pymcsl.readthedocs.io/en/latest Monaco monaco.readthedocs.io/en/latest MCerp github.com/tisimst/mcerp There are lots of examples online if you do a general web search. However most tutorials skip a critical element - how to induce rank correlation between the random input variables. Without this, the simulation will assume that all input variables are independent and uncorrelated which is usually not reflective of most modelled phenomenon. Therefore simulation outcomes will end up underestimating the variability due to the Central Limit Theorem statisticsbyjim.com/basics/central-limit-theorem/ However I can recommend this one example that does cover the use of correlated variables using MCerp : towardsdatascience.com/journey-to-monte-carlo-mc-simulations-with-correlated-variables-in-python-1aef84d5742d
@@ZhijingEuThanks 👍 will definitely go through it
@@shiwaninaik3935 glad I could help. I'm planning to redo this tutorial video using Python instead of XL Risk when I get a bit of time later this year so stay tuned.
@shiwaninaik3935 zhijingeu.medium.com/building-a-probabilistic-risk-estimate-using-monte-carlo-simulations-with-python-mcerp-7d57e63112fa#bb3f
it is not clear how you connect the correlation matrix to the original ranges
In the tab Uncertain Range+Events+Corr, there is a matrix in cells G14:I16. This is referenced in the risked ranges in cells I4 to I9 as a ",RiskCorrmat" suffix to the whatever risk distribution is being used. Read the help documentation for more examples github.com/pyscripter/XLRisk/wiki/CorrelatedInputsExample
FYI only if you are stuck trying to replicate this and getting an error when calling GPTSimpleVectorIndex, it is because a few months after I published this, LlamaIndex renamed GPTSimpleVectorIndex to GPTVectorStoreIndex github.com/jerryjliu/llama_index/issues/1900
FYI only if you are stuck trying to replicate this and getting an error when calling GPTSimpleVectorIndex, it is because a few months after I published this, LlamaIndex renamed GPTSimpleVectorIndex to GPTVectorStoreIndex github.com/jerryjliu/llama_index/issues/1900
How to download data
github.com/ZhijingEu/Optimizing_Capital_Budgeting_With_ILP_Methods
@@ZhijingEu Thanks!Great video and medium article.
Useful. Thanks
Nice.
Hello Zhijing Eu, Thank you for this great video. Only it is not clear to me how you wired the covariance calculations in the example in the spreadsheet (the table is clear, but where and how is it connected in the model?) Can you please specify what formula's you used and in what lines/cells in the spreadsheet and in the results pagina we can find this? That would be really very helpful. Thank you!
In the tab Uncertain Range+Events+Corr, there is a matrix in cells G14:I16. This is referenced in the risked ranges in cells I4 to I9 as a ",RiskCorrmat" suffix to the whatever risk distribution is being used. Read the help documentation for more examples github.com/pyscripter/XLRisk/wiki/CorrelatedInputsExample