Cannabis can be a double-edged sword when dealing with anxiety. Many different types of cannabinoids can actually cause more anxiety and make people even more anxious. Specific terpene profiles combined with certain cannabinoids has been used to ease the nerves and promote a better sense of calm. These combinations allow us to relax the Alpha pattern in our brains just enough to the point where we are not over analyzing every single thing that's going on around us. It's not that we're not aware. It's just that we're not as affected by everything that's moving. Cannabis slows things down to a point where we are able to be calm and more accepting of the environment around us.
Cannabis and caffeine are not even in the same arena. They do two totally different things for your brain and body. Cannabis slows down your brains ability to process Delta and Alpha waves. Whereas caffeine speeds up your brain and body’s metabolism. Caffeine and cannabis however have 1 similarity; sativa strains and coffee can help you be productive through the day, but it is always better to use one or the other, and not both.